PHP Classes

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: 556 This week: 1All time: 5,471 This week: 560Up
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: 37
All time rank: 2206102 in United Kingdom
Week rank: 416 Up15 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:556
This week:1
All time:5,471
This week:560Up
User Comments (1)