Re: Problem with cookies, it's urgent, HELP ME!!!!!

From: Date: Fri, 01 Sep 2000 17:02:40 +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-14839@lists.php.net to get a copy of this message
On 9/1/00 12:45 PM this was written: > 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]); >> ?> And that your <? starts at the very very top of the document so that there is NOTHING sent to the browser before your cookie set. BTW, I honestly suggest you use path and domain informaiton too. AOL Users and some others will not be able to take advantage of the cookies if you don't. -- Thomas Deliduka IT Manager ------------------------- New Eve Media The Solution To Your Internet Angst http://www.neweve.com/

« previous php.general (#14839) next »