PHP Classes

Request flood protection: Detect access floods using a MySQL database

Recommend this page to a friend!
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 1,108 All time: 3,390 This week: 191Up
Version License Categories
rfloodprotect 1.0.0GNU General Publi...Databases, Security


This class can be used to detect access floods using a MySQL database to keep track of accesses of site users.

The class stores in a MySQL database table records of the time and IP address of each access.

It can detects floods if the last access from the current user IP address occurred in a period less than a given number of seconds.

Picture of sam
Name: sam <contact>
Classes: 3 packages by
Country: United Kingdom
Age: 34
All time rank: 47325 in United Kingdom
Week rank: 578 Down20 in United Kingdom Up
Innovation award
Innovation award
Nominee: 1x

  Files folder image Files  
File Role Description
Accessible without login Plain text file example.php Example example code
Accessible without login Plain text file flood-protection.php Class The flood protection class

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:3,390
This week:191Up