Unique identifier

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
matt1234
Forum Commoner
Posts: 44
Joined: Wed Nov 26, 2008 9:43 pm

Unique identifier

Post by matt1234 »

I am trying to construct a poll where a person can vote once per computer. The result and some sort of unique identifier will be stored in a database. The only one I can think of is an IP address but then if there is a router situation happening, then people in the same house or coffee shop could not vote on the poll after 1 person has done it already. I could do cookies but then all someone has to do is delete their cookies and vote again. What other type of unique identifier could I use for someone on a per-computer basis?
lpiekarski
Forum Newbie
Posts: 4
Joined: Thu May 28, 2009 6:28 pm

Re: Unique identifier

Post by lpiekarski »

other way i can think of is have users register and vote :-/ but thats only me.


Good luck !
mischievous
Forum Commoner
Posts: 71
Joined: Sun Apr 19, 2009 8:59 pm

Re: Unique identifier

Post by mischievous »

Setup a user registration... easiest way to do it... cant run it by mac address the only other unique Identifier is going to be the IP... then cookies and sessions... which can all be manipulated... Go with a user system... :dubious:
Post Reply