headers_sent PHP 3.0.8

int headers_sent(void)

 

ヘッダが送信済みの場合は true、それ以外の場合は false を返します。

setcookie PHP 3.0

bool setcookie(string name[, string value[, int expires[, string path[, string domain[, bool secure]]]]])

 

cookie を送信します。