ID: 9424
Updated by: sniper
Reported By: [EMAIL PROTECTED]
Old-Status: Open
Status: Bogus
Bug Type: HTTP related
Assigned To: 
Comments:

Read the manual page for setcookie:

http://www.php.net/setcookie

and ask further support questions on [EMAIL PROTECTED]

--Jani


Previous Comments:
---------------------------------------------------------------------------

[2001-02-23 11:25:54] [EMAIL PROTECTED]
I try to use this function to prevent that the same visitor vote for more than one 
time in a hour but it don't work, the code is this:
if($vote!=1)
{
$time=time();
$time=$time + 36000;
setcookie("vote","1",$time);
}

If the visitor vote, the vote counts, than if he try to vote again the vote don't 
count, but if he try again it counts, the cookie is delete and i don't know why, i use 
IE 5.5. 
Can some one help me.

---------------------------------------------------------------------------



ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=9424&edit=2


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to