note 19740 deleted from function.setcookie by sniper
| From: | sniper@php.net | Date: | Wed, 11 Dec 2002 07:18:15 +0000 |
| Subject: | note 19740 deleted from function.setcookie by sniper | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-40733@lists.php.net to get a copy of this message | ||
If you find it a pain, shuffling your code and setcookie() calls around just to avoid the
'header already sent' errors, then try modifying your php.ini file to change this line....
output_buffering = On
Then you can set cookies anywhere in your code, and include echo's and comments and output
where-ever you like, which is handy for debugging.