RE: [PHP] Help!

From: Date: Sun, 09 Dec 2001 19:07:07 +0000
Subject: RE: [PHP] Help!
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-77161@lists.php.net to get a copy of this message
What you need to do is make sure the same person doesn't vote twice either via cookie, session, or comparing IP address. These are all simple solutions. For example, if the IP address is the same as stored in the DB, then the person as tried to vote twice, and you can prevent that. Jason Lotito jason@lehighweb.com www.NewbieNetwork.net > -----Original Message----- > From: ryan adorable [mailto:php@floppydiskonline.com] > Sent: Sunday, December 09, 2001 10:07 AM > To: php-general@lists.php.net > Subject: [PHP] Help! > > > Hi, > > I created a poll program for my homepage. When i vote some > field in my database gets incremented, but after successfully > voting when i clicked on reload/refresh of my browser the > said field is also incremented. How can I fix/avoid this problem? > > Hoping for a reply. > Thanks > > Ryan > > _____________________________________________________________ > Sign up for FREE email from FloppyDisk at > http://www.floppydiskonline.com > > -- > 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.net >

« previous php.general (#77161) next »