PHP bans and trap: Manage database of banned IP addresses

Recommend this page to a friend!
  Info   View files (6)   Download .zip   Reputation   Support forum (1)   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 442 All time: 6,146 This week: 284
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: 36
All time rank: 4064 in Australia Australia
Week rank: 243 2 in Australia Australia
Innovation award
Innovation award
Nominee: 2x

  Files  
File Role Description
trap (1 file)
bans.sql Data mysql database file
class.ban_embed_sql.php Class bans class file with sql connection statements
class.ban_no-sql.php Class bans class file with NO sql connection statements
index.example.php Example main example file
robots.txt Data example robots.txt

  Files  /  trap  
File Role Description
   index.php Example main trap example file

 Version Control Unique User Downloads Download Rankings  
 0%
Total:442
This week:0
All time:6,146
This week:284

For more information send a message to info at phpclasses dot org.