PHP Classes

PHP IP CIDR Check: Check if IP address is within a range

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
Not enough user ratingsTotal: 222 All time: 8,250 This week: 52Up
Version License PHP version Categories
cidr-forte 1.0BSD License5.4Networking, PHP 5, Validation
Description 

Author

This class can check if IP address is within a range.

It can take a given IP address and check if it is in a range defined by a CIDR mask.

The class can support both IPv4 and IPv6 addresses.

Picture of Frank Forte
  Performance   Level  
Name: Frank Forte <contact>
Classes: 2 packages by
Country: Canada Canada
Age: ???
All time rank: 394684 in Canada Canada
Week rank: 170 Up7 in Canada Canada Up

  Files folder image Files (2)  
File Role Description
Accessible without login Plain text file CIDR.php Class Class source
Accessible without login Plain text file LICENSE Lic. License text

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  
 100%
Total:222
This week:0
All time:8,250
This week:52Up
User Comments (1)
Thanks a lot.
6 years ago (Carl Friis-Hansen)
60%StarStarStarStar