Menu
I hope the title makes sense. I want to limit the number of calls a user can make to a php file (through a form and AJAX).
I guess the way to do it is with cookies or sessions but I can’t really understand how I would go about it. So far I’ve passed the ip of the user to the php file that does the action but can’t figure out how to use it. My main issue is setting a different cookie per user I guess.
Any thoughts or pointers on the subject?