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: 552 All time: 5,473 This week: 425Up
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: 35
All time rank: 2205102 in United Kingdom
Week rank: 563 Up20 in United Kingdom Up

  Files folder image Files  
File Role Description
Plain text file Class IP restriction class

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