PEAR  
Search package by name
 

Package Management
Package Management

 

Package Search
Package Search

 

Channel Management
Channel Management

 

Configuration
Configuration

 
Warning: This package management website is not protected with a password, this is a MAJOR security risk. Please read the README.
Package Net_CheckIP2
Installed - no -
Latest 1.0.0RC3
License MIT License
Summary A package to determine if an IP (v4) is valid.
Description Net_CheckIP2 allows you to validate an IPv4 address.

Additionally, using isReserved(), you may check if an IP is from a reserved/private
IP space (according to RFC 1918). Using getClass(), you may retrieve the IP's class
network (A, B, C currently supported).

Net_CheckIP2 is a PHP5 port of the Net_CheckIP package and is almost a drop-in replacement.
Dependencies
PHP Version: 5.2.0 or newer
PEAR Package: pear.php.net/PEAR 1.4.0b1 or newer
Options
install Install package
More extra info Extended Package Information
manual pear.php.net Developer Documentation
manual pear.php.net Package Manual