Justtechjobs.com Find a programming school near you






Online Campus Both


php-windows | 2003112

[PHP-WIN] Re: setting cookie problem From: Bas (famde.jong <email protected>)
Date: 11/23/03

"Muhammad Imran" <imran <email protected>> wrote in message
news:000801c3b1a8$8ad65430$aa01a8c0 <email protected>
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.

-- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php