Login   Register  
PHP Classes
elePHPant
Icontem

IP Blocking Class

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

  Author  
Picture of Kreshnik Hasanaj
Name: Kreshnik Hasanaj <e-mail contact>
Packages: 2 Browse all classes by Kreshnik Hasanaj Browse all classes by
Country: Kosovo - PHP jobs in Kosovo
Age: ???
All time rank: 18441 in Kosovo
Week rank: 1460 Up1 in Kosovo Equal


  Detailed description   Download .zip .tar.gz  
This class can block the access of users from given IP addresses.

It can define a set of IP addresses to be blocked by given individual addresses, an array of addresses or a range of addresses.

The class can check if the current user access is from an address that is meant to be blocked. In that case it issues a HTTP 403 status response and exits the current script.

The class can also log the blocked accesses to a given log file.

  Classes of Kreshnik Hasanaj  >  IP Blocking Class  >  Download .zip .tar.gz  >  Support forum Support forum  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: IP Blocking Class
Base name: ip-blocking
Description: Block the access of users from given IP addresses
Version: 0.1
PHP version: 5
License: GNU General Public License (GPL)
All time users: 786 users
All time rank: 3790
Week users: 1 user
Week rank: 2150 Up
 
  Groups   Rate classes User ratings   Applications   Files Files  

  Groups  
Group folder image HTTP HTTP protocol clients, headers and cookies View top rated classes
Group folder image PHP 5 Classes using PHP 5 specific features View top rated classes
Group folder image Security Security protection and attack detection View top rated classes


  User ratings  
Not yet rated by the users

  Applications that use this class  
No application links were specified for this class.
Add link image If you know an application of this package, send a message to the author to add a link here.
  Files folder image Files  
File Role Description
Accessible without login Plain text file example.php Example IP Blocking class example code
Plain text file ipblocker.php Class IP Blocking class

Download all files: ip-blocking.tar.gz ip-blocking.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.