PHP Classes

Request flood protection: Detect access floods using a MySQL database

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 46%Total: 1,110 All time: 3,387 This week: 146Up
Version License Categories
rfloodprotect 1.0.0GNU General Publi...Databases, Security
Description 

Author

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: 35
All time rank: 47425 in United Kingdom
Week rank: 216 Up13 in United Kingdom Up
Innovation award
Innovation award
Nominee: 1x

  Files folder image Files (2)  
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

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:1,110
This week:0
All time:3,387
This week:146Up
 User Ratings  
 
 All time
Utility:66%StarStarStarStar
Consistency:66%StarStarStarStar
Documentation:-
Examples:66%StarStarStarStar
Tests:-
Videos:-
Overall:46%StarStarStar
Rank:3172