PHP Classes

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

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStar 35%Total: 557 All time: 5,467 This week: 146Up
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

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

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:557
This week:0
All time:5,467
This week:146Up
User Ratings User Comments (1)
 All time
Utility:58%StarStarStar
Consistency:66%StarStarStarStar
Documentation:-
Examples:-
Tests:-
Videos:-
Overall:35%StarStar
Rank:4135