Re: Problem with cookies, it's urgent, HELP ME!!!!!
| From: | Kurth Bemis | Date: | Fri, 01 Sep 2000 16:45:42 +0000 |
| Subject: | Re: Problem with cookies, it's urgent, HELP ME!!!!! | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-14835@lists.php.net to get a copy of this message | ||
At 06:43 PM 9/1/2000 +0200, Securez wrote:
make sure that the setcookie code is outside <html></html> and you should be ok
~kurth
I want to write a cookie, for know when a user have vote a item, but when i want send cookie, i recibe a error: This is my code: <? // Introduce cookies $Count++; SetCookie("Count",$Count); SetCookie("Voto[$Count]",$ParamValue[0]); ?> . . Rest of HTML code. This is the error: Warning: Cannot add header information - headers already sent by (output started at /usr/local/apache/htdocs/docs/stradivarius/es/vota.htm:2) in /usr/local/apache/htdocs/docs/stradivarius/es/vota.htm on line 6 I'm confuse i don't know wath is the problem. can anybody help me!! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net For additional commands, e-mail: php-general-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.netKurth Bemis - Network/Systems Administrator, USAExpress.net/Ozone Computer kurth@usaexpress.net http://www.usaexpress.net/kurth ICQ - 6624050 Call Sign - N1TYW PGP key available - http://www.usaexpress.net/kurth/pgp Fight Weak Encryption! Donate your wasted CPU cycles to Distributed.net (http://www.distributed.net)