Jump to content


This topic is now archived and is closed to further replies.


ip and form trouble

Recommended Posts

Hi, I have a form that users vote with, The voting is limited to once per ip address, this is great for individuals but in a network situation only one computer seems able to vote. I would have used sessions and/or cookies but my client doesn't want to have any user Auth features, i figured ip restriction was the way to go, to get the ip address I used

Does anyone have any advice/suggestions


Share this post

Link to post
Share on other sites
if you have your dbtable setup to store ip address you can do this

$getip=mysql_query("select * from your table");
echo "Sorry you have already completed this form";
echo "your form";

Share this post

Link to post
Share on other sites


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.