ip storing, then preventing that ip to access the same thing again
simple question
how do you make a php code so that an ip address is stored in a mysql, then if they go back to that page a different thing comes up?
(for instance... boxer gave me a good poll script but i dont want anyone voting more than once... so i want it to add the ip to the mysql table after they have voted on one thing (there are multiple polls on one page) it says they cant vote on it anymore)
for instance examplesvote.php has 3 seperate polls on it, and once a person votes, it says they have voted... and writes on poll.txt... then when they try to vote again, it says "sorry you have already voted on this ip"
for reference go to http://www.kalrith.com/vote.php to see what im talking about