...

View Full Version : How do you restrict people from voting?



PeaTearGriffin
07-31-2008, 06:38 AM
If I wanted to make a poll (doesn't require registration) that only allows people to vote once, what would be the best way to do it. Is checking by IP the only option? But then people with dynamic IP's would be able to post more than once? Without requiring registration what are some other things you could you do?

derzok
07-31-2008, 07:39 AM
Always check the IP - it fools enough people that it's worth adding the check. Also try setting a cookie on the user's browser - lots of people aren't clever enough to clear their cookies. You might also consider setting and checking a $_SESSION variable. Depending on what you're implementing, you might require people to register before they can vote.

Fou-Lu
07-31-2008, 08:22 AM
Cookies and ip are you're only options if you don't want to force registration. Sessions are less useful than useful to you. Cookies tend to be a good option, most people don't even know what they are >.<



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum