PHP Classes

PHP bans and trap: Manage database of banned IP addresses

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
Not enough user ratingsTotal: 451 All time: 6,174 This week: 146Up
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: United States United States
Innovation award
Innovation award
Nominee: 2x

  Files folder image Files (6)  
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 (6)  /  trap  
File Role Description
  Accessible without login Plain text file index.php Example main trap example file

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:451
This week:0
All time:6,174
This week:146Up