Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
Thread: PHP Flood protection
01-03-2007, 10:40 AM #1TrainReqGuest
PHP Flood protection
I have some PHP functions (most of the functions dump stuff into the mysql database) .... I would like for it to have flood protection to where it wont do the functions if an IP has been there 45 or less seconds ago.
01-03-2007, 04:42 PM #2
- Join Date
- Sep 2006
- Thanked 1 Time in 1 Post
Store a timestamp in a session... Then compare the session timestamp to the current one to see if 45 seconds have gone by.-bubbles
01-03-2007, 08:02 PM #3TrainReqGuest
how do I do it... and i dont want to do it for everyone... (like it can get seperate hits from other people .. but it can only get one hit every 45 seconds per person... what is the code for that?