PHP Classes

PHP bans and trap: Manage database of banned IP addresses

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in Bookmark in
  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 (6 years ago) RSS 2.0 feedNot yet rated by the usersTotal: 432 All time: 5,900 This week: 1,187Up
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 is available for providing paid consulting. Contact Lee J .
Classes: 6 packages by
Country: Australia Australia
Age: 32
All time rank: 4894 in Australia Australia
Week rank: 165 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  
 0%Total:432All time:5,900
 This week:0This week:1,187Up