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    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 548 All time: 5,455 This week: 194Up
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  
Name: Ovidiu Bokar <contact>
Classes: 2 packages by
Country: United Kingdom
Age: 34
All time rank: 220099 in United Kingdom
Week rank: 512 Up19 in United Kingdom Up


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

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:5,455
This week:194Up
User Comments (1)

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