hackerkts Posted July 8, 2006 Share Posted July 8, 2006 As the subject says, how do you guys actually check if the person is unique.What I mean is, hmm... Let's take this example:I have a voting system, but I wanna make it only 1 person to vote once.But I can't set it as 1 person vote one time according to their IP address, some of the people have dynamic IP (which changes everytime they restart their cable/modem)Is there a way to check MAC address and use it in PHP code ?Sorry, I'm dumb with computer. :s Link to comment https://forums.phpfreaks.com/topic/14005-how-to-check-unique-person/ Share on other sites More sharing options...
Daniel0 Posted July 8, 2006 Share Posted July 8, 2006 I don't think you can get the MAC address (that can be spoofed too though). You could check for IP ranged (i.e. 1.2.3.*), an example of this is shown here: http://projects.xaos-ia.com/icebb/browser/trunk/icebb.php#L221 Link to comment https://forums.phpfreaks.com/topic/14005-how-to-check-unique-person/#findComment-54690 Share on other sites More sharing options...
Prismatic Posted July 8, 2006 Share Posted July 8, 2006 Use Sessions, IP, and Cookies to check, 3 levels of protection, should be good enough :) Link to comment https://forums.phpfreaks.com/topic/14005-how-to-check-unique-person/#findComment-54704 Share on other sites More sharing options...
Barand Posted July 8, 2006 Share Posted July 8, 2006 [quote author=hackerkts link=topic=99848.msg393443#msg393443 date=1152340268]But I can't set it as 1 person vote one time according to their IP address, some of the people have dynamic IP (which changes everytime they restart their cable/modem)[/quote]And there is the opposite problem, as in a classroom situation, where several users may have the same IP Link to comment https://forums.phpfreaks.com/topic/14005-how-to-check-unique-person/#findComment-54706 Share on other sites More sharing options...
hackerkts Posted July 8, 2006 Author Share Posted July 8, 2006 >.<! Thanks for all the replies, I think I will go with IP address.The unlucky one will not be able to vote :po.O Or I think I might only allow them to vote if they are member :P Link to comment https://forums.phpfreaks.com/topic/14005-how-to-check-unique-person/#findComment-54752 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.