944,208 Members | Top Members by Rank

Ad:
  • PHP Discussion Thread
  • Unsolved
  • Views: 2901
  • PHP RSS
Jan 8th, 2005
0

help with ip adresses!!!!!!!!!!!!!

Expand Post »
hi guys

i have created a html and php based voting page. i want poeple to only vote once can u give me advice either i should use cookies or ip address. and if u get me started as well i will apreciate it thanks :-| :-| :-|
Similar Threads
Reputation Points: 10
Solved Threads: 1
Posting Whiz
sam1 is offline Offline
300 posts
since Nov 2004
Jan 8th, 2005
0

Re: help with ip adresses!!!!!!!!!!!!!

Using their IP address is generally a bad idea. This stems from the fact that not everyone has a static (permanent) IP address. People who use dial up, for instance, will not always get the same IP (in fact, it's usually different). So, what happens if you get 2, or 3 people that use the same ISP. One person votes, and gets offline. Someone else signs on, stumbles across your site, with the same IP as the first person.... they can't vote now.

Cookies are a good idea, but keep in mind that cookies can be erased/refused by the visitor. There is always a way for someone to get around it, so that they can vote more than once if they really want to.
Team Colleague
Reputation Points: 361
Solved Threads: 214
Taboo Programmer
Comatose is offline Offline
2,413 posts
since Dec 2004
Feb 8th, 2005
0

Re: help with ip adresses!!!!!!!!!!!!!

I think that you should use cookies and not be fussed about repeat votes.

If someone wants to keep on revoting again and again then their love for that thing should add weight to their vote. just an opinion.
Reputation Points: 10
Solved Threads: 0
Newbie Poster
fambi is offline Offline
10 posts
since Oct 2004
Feb 11th, 2005
0

Re: help with ip adresses!!!!!!!!!!!!!

Yup! me too agree with that (cookie)!

well most of the people nowadays use proxy`s too :p
Reputation Points: 10
Solved Threads: 0
Light Poster
iwonder is offline Offline
37 posts
since Feb 2005
Feb 14th, 2005
0

Re: help with ip adresses!!!!!!!!!!!!!

if you have a members section make sure they are logged in and then store in the database who has already voted
Reputation Points: 13
Solved Threads: 4
Posting Whiz
paradox814 is offline Offline
351 posts
since Oct 2004
Feb 24th, 2005
0

Re: help with ip adresses!!!!!!!!!!!!!

The only viable way to begin this application is with a solid data definition and schema for your Voter's database. You need to provide a User Record with such fields as Name, Address, City, State, Zip, and Telno. You may need to treat all those fields as part of an aggregate key to uniquely identify the user. Or you store Drivers License or SSN but then how will you ensure the data is valid ... you will need access to a State or Federal databse - GOOD LUCK.

Thus if your database and web app are to ever get off the ground they definitely need to be sanctioned or endorsed by political interests. Wouldn't hurt to get to know the local congressman. Key things to consider: always encrypt any sensitive user data, and generate a time sensitive key the user has to enter (for example, like the one used when you purchase tickets on TicketMaster's website ).

Note, this database has to be bullet-proof, and have plenty of statistics. At the end of the day your system will be put on trial by people that lose elections as well as proponents of other solutions. So in the final analysis if the data cannot be defended then your app is not only a liability but possibly a target for "disenfranchised" voter lawsuits. Put it this way, you dont want your app to be considered the next hanging chad.
Reputation Points: 10
Solved Threads: 3
Light Poster
mcldev is offline Offline
31 posts
since Feb 2005

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in PHP Forum Timeline: How do I get an input form to reload itself
Next Thread in PHP Forum Timeline: Can't get PHP to run ! Please help!





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC