You are here: Re: cookies « All PHP « IT news, forums, messages
Re: cookies

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация