PHP : Allow user to comment and rate only once with their ip adress <p>Context : I'm making a website where users can search for internet forfeit and I want to make a 5 star rating system and a comment system for every internet provider... But the users are only allowed to comment and rate only one time for each provider... I have tough about getting the user ip adress, then put it in a database when they comment and rate...</p> <p>So i'm asking if some people have clue or idea of how i can do that...</p> <p>You guys can see what i'm talking about here : <a href="http://fournisseursquebec.com/Fournisseurs/Fido.php" rel="nofollow">http://fournisseursquebec.com/Fournisseurs/Fido.php</a></p>