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    
Last Updated Ratings Unique User Downloads Download Rankings
2009-06-18 (10 years ago) RSS 2.0 feedNot enough user ratingsTotal: 442 This week: 1All time: 6,109 This week: 314Up
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.

Name: Lee J <contact>
Classes: 6 packages by
Country: Australia Australia
Age: 35
All time rank: 4145 in Australia Australia
Week rank: 82 Up1 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  
This week:1
All time:6,109
This week:314Up