Re: setting cookie problem
| From: | Bas | Date: | Sun, 23 Nov 2003 11:24:53 +0000 |
| Subject: | Re: setting cookie problem | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-22167@lists.php.net to get a copy of this message | ||
"Muhammad Imran" <imran@sdpi.org> wrote in message
news:000801c3b1a8$8ad65430$aa01a8c0@sdpi2k.org...
Whever I try to set the cookie I get error message (below), what can be the
problem. I am setting the cookie in <body> and thier is no output(echo) tags
before this. Please help me.
Warning: Cannot modify header information - headers already sent by (output
started at /www/cookie_test/cookieCount.php:3) in
/www/cookie_test/cookieCount.php on line 14
Cookie data
Regards
Imran
---
You must set the cookie at the top of the page, with no extra linebreaks
before.