Re: Unique User Hashes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

Yep it is backed by DB and i do record when they vote - but its still flawed
in how to track unique users :) Thanks though - will continue to look
further.

Cheers

On Wed, Feb 18, 2009 at 5:56 AM, Chris <dmagick@xxxxxxxxx> wrote:

> Ian wrote:
>
>> Hi,
>> I am busy building an application that requires one time voting and to get
>> around the user deleting a cookie that I set im keeping a hash on my side
>> which I then try match before allowing anything.
>>
>
> I assume this is backed by a db of some sort.
>
>
> $query = "update user set has_voted=NOW() where userid='x'";
>
> so you can also see when the user voted. Maybe record the ip etc as a
> record to back up your assertion they have voted but as you say, ip is not a
> very reliable indicator.
>
> --
> Postgresql & php tutorials
> http://www.designmagick.com/
>
>

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux