note 58049 rejected from function.setcookie by nlopess

From: Date: Sun, 23 Oct 2005 10:17:12 +0000
Subject: note 58049 rejected from function.setcookie by nlopess
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-97446@lists.php.net to get a copy of this message
Note Submitter: ophles at gmail dot com ---- I know howto set the cookie but then how do i make it find the cookie and figure out if somebody has voted already eg: You havnt voted before (within the hour) a cookie is set for it to expire in an hour Your allowed to vote You have voted before and the cookie was set 20 mins ago (an hour cookie) You click vote It echos Sorry you have already voted. Thanks, Mikey

« previous php.notes (#97446) next »