Posted by Stefan Rybacki on 10/06/05 16:19
Sentinel wrote:
> How do i create cookies with php?
> allso, how can i read cookies and eventualy delete them?
>
> i have created a pool and the problem is that anyone can vote until
> their finger gets tired and i want to prevent then from voting more
> then once.
>
> i found a script on google but it doesn't work (eather id doesn't
> create a cookie, or it can't read the cookie)
>
> the main thing is thet on one page there will be several pools and i
> have to be able to create a cookie for each one seperatly.
>
BTW: cookies won't prevent you from users rating more than once. At least they can deny
any cookie and you won't be able to set cookies. An alternative could be to use logins,
that means anybody who wants to vote gets a login and then you can stored each vote
together with the login data and know who already voted.
Regards
Stefan
>
> Thanks
>
Navigation:
[Reply to this message]
|