headers_sent PHP 3.0.8

int headers_sent(void)

 

Returns true if headers have already been sent, false otherwise.

setcookie PHP 3.0

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

 

Sends a cookie.