w3-tools.com - Free Webmaster Tools and Resources
 
w3-tools.com - Free Webmaster Tools and Resources
 Free Webmaster Tools and Resources

 



PEAR Manual

This manual is provided as a courtesy. It is not an official source. Please check pear.php.net for updated information.

PEAR Manual

PEAR Manual

Net_IPv4

Table of Contents
Net_IPv4::atoh() -- Converts a dot-quad formatted IP address into a hexadecimal string
Net_IPv4::htoa() -- Converts a hexadecimal string into a dot-quad formatted IP address
Net_IPv4::ip2double() -- Converts an IP address to a PHP double.
Net_IPv4::validateIP() -- Validate the syntax of the given IP adress.
Net_IPv4::validateNetmask() -- Validate the syntax of the given netmask.
Net_IPv4::parseAddress() -- Parse a CIDR address (address/netmask combination).
Net_IPv4::calculate() -- Calculates network information based on an IP address and netmask.
Net_IPv4::ipInNetwork() --  Determines whether or not the supplied IP is within the supplied network.

Provides several methods for working with IP addresses and netmasks.

Newsletter

Join to our newsletter and receive news and updates about our site.
Your name: 
E-mail address: 
Action: 
 

Hosted by

Search

Google
Web w3-tools.com

Links

  What is my IP? Find your IP address!     Valid XHTML 1.0 Transitional  
Copyright © 2006. by w3-tools.com. All rights reserved