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: 546 All time: 5,455 This week: 328Up
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: 33
All time rank: 220398 in United Kingdom
Week rank: 601 Up22 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  
 0%
Total:546
This week:0
All time:5,455
This week:328Up
User Comments (1)
 

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