void header(string header[, bool replace, [int http_response_code]])
未処理の HTTP ヘッダを送信します。
int headers_sent(void)
ヘッダが送信済みの場合は true、それ以外の場合は false を返します。
bool setcookie(string name[, string value[, int expires[, string path[, string domain[, bool secure]]]]])
cookie を送信します。