PHP Classes

PHP bans and trap: Manage database of banned IP addresses

Recommend this page to a friend!
  Info   View files View files (6)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 450 This week: 1All time: 6,178 This week: 560Up
Version License PHP version Categories
phpbantrap 1Free for non-comm...5.0HTML, PHP 5, Databases, Security
Description 

Author

This package can be used to manage database of banned IP addresses.

It can list, add, update and delete records of a MySQL database table with information about banned IP addresses.

The class can generate forms to create or update records of banned IP addresses.

It can also look up the database to check whether a given IP or host address are banned. The class can issue a forbidden access response in case it is banned.

Picture of Lee J
Name: Lee J <contact>
Classes: 6 packages by
Country: Australia Australia
Age: 40
All time rank: 4064 in Australia Australia
Week rank: 411 Down3 in Australia Australia Up
Innovation award
Innovation award
Nominee: 2x

  Files folder image Files  
File Role Description
Files folder imagetrap (1 file)
Accessible without login Plain text file bans.sql Data mysql database file
Plain text file class.ban_embed_sql.php Class bans class file with sql connection statements
Plain text file class.ban_no-sql.php Class bans class file with NO sql connection statements
Accessible without login Plain text file index.example.php Example main example file
Accessible without login Plain text file robots.txt Data example robots.txt

  Files folder image Files  /  trap  
File Role Description
  Accessible without login Plain text file index.php Example main trap example file

 Version Control Unique User Downloads Download Rankings  
 0%
Total:450
This week:1
All time:6,178
This week:560Up