Sponsored by NuSphere - PHP Software for PHP Application Developers - On Sale This Week for $100 off


Net_IPv4::parseAddress()

Net_IPv4::parseAddress()

Net_IPv4::parseAddress() -- Parse a CIDR address (address/netmask combination).

Description

Parses a Classless Inter-Domain Routing address (e.g. 192.168.1.0/24) and stores information in the object variables network, ip, netmask, broadcast, long and bitmask.

Return value

boolean - Returns TRUE on success, PEAR_Error on failure.

Note

This function can not be called statically.

© Copyright 2003-2008 www.php-editors.com. The ultimate PHP Editor and PHP IDE site.