PHP Classes

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

Recommend this page to a friend!
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 213 This week: 2All time: 8,292 This week: 65Up
Version License PHP version Categories
cidr-forte 1.0BSD License5.4Networking, PHP 5, Validation


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: 395784 in Canada Canada
Week rank: 82 Up2 in Canada Canada Up

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

 Version Control Unique User Downloads Download Rankings  
This week:2
All time:8,292
This week:65Up
User Comments (1)
Thanks a lot.
5 years ago (Carl Friis-Hansen)