Re: voting script
| From: | Troy Hakala | Date: | Wed, 02 Aug 2000 16:34:44 +0000 |
| Subject: | Re: voting script | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-9743@lists.php.net to get a copy of this message | ||
if it's really crucial, you could require a logon to vote. other than that,
a cookie is your best bet. note that users could still delete the cookie or
have their browser block it and vote as many times as they want. but that's
the price we pay for anonymity on the web. :)
troy@recipezaar.com
----- Original Message -----
From: "Apathy" <robert@crazymooseNOSPAM.co.uk>
To: <php-general@lists.php.net>
Sent: Wednesday, August 02, 2000 9:34 AM
Subject: [PHP] voting script
> Hi,
> I'm not sure if this has a PHP solution or not, I thought I'd bounce
it
> off the people of this group though...
>
> I have a site that gives users the ability to vote on sections of the
site.
> This is done by a php script that adds 1 to the "vote" field on a MySQL
> database.
>
> What I want to do is have a system that stops people from voting on each
> section more than once (i.e. cheating).
>
> I was going to do something that logged their ip for each section and
would
> stop multiple votes -- this would cause problems for people behind company
> firewalls though, and also cause *huge* logs. Then I thought maybe sending
a
> cookie when they voted that would notify the script if they tried to vote
> again -- this seems like the most feasible idea *I* have come up with so
> far, I was wondering whether anyone has had better solutions for a similar
> situation though?
>
> Thanks in advance for any help,
>
> Robert Morrissey
>
> --
> Crazy Moose
> http://www.crazymoose.co.uk
> Providing Web Design, Hosting and IT Support
>
>
>
> --
> 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
>