If your login control uses PHP sessions, you could just save the value of [man]time/man in a session variable whenever a user does an insert. Then whenever they try to do an insert, first check to see if that session value exists, and if it does that it is at least X number of seconds less than the current value of time(), otherwise disallowing the action.