Login   Register  
PHP Classes
elePHPant
Icontem

PHP IP Block IP Ranges: Check if the current user IP is with a block range

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2013-11-06 (1 year ago) RSS 2.0 feedNot yet rated by the usersTotal: 262 All time: 6,890 This week: 1,330Up
Version License PHP version Categories  
block-ip-ranges 1GNU Lesser General Publ...4.0Networking
Description Author  

This class can check if the current user IP is with a block range.

It takes an IP address range and checks if if the current user IP address is within that range.

The class will issue an HTTP status error 403 and exits if the user IP address falls inside the block IP range.

Picture of Jacek Wloka
Name: Jacek Wloka <contact>
Classes: 6 packages by
Country: Poland Poland
Age: 27
All time rank: 3546 in Poland Poland
Week rank: 1043 Down32 in Poland Poland Down
Innovation award
Innovation award
Nominee: 1x

  Files folder image Files  
File Role Description
Accessible without login Plain text file example.php Example Example
Plain text file ip4_blocking_classes.php Class Class

 Version Control Unique User Downloads Download Rankings  
 0%Total:262All time:6,890
 This week:0This week:1,330Up