PHP Classes
elePHPant
Icontem

IP Restriction: Check a given IP against a list of allowed IPs

Recommend this page to a friend!
  Info   View files View files (1)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2015-02-25 (1 year ago) RSS 2.0 feedNot enough user ratingsTotal: 541 All time: 5,288 This week: 1,109Up
Version License PHP version Categories
restrict-ip 1.0.0GNU Free Document...5.0Networking, PHP 5, Validation
Description Author

This is a very simple class that can check a given IP against a list of allowed IPs.

It can take a given user IP address and check if it is present in a whitelist of IP addresses.

The class returns true if the specified IP is in the allowed list.

Picture of Ovidiu Bokar
  Performance   Level  

  Files folder image Files  
File Role Description
Plain text file restrict.ip.inc Class IP restriction class

 Version Control Unique User Downloads Download Rankings  
 0%
Total:541
This week:0
All time:5,288
This week:1,109Up
User Comments (1)