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


Net_CheckIP::check_ip()

Net_CheckIP::check_ip()

Net_CheckIP::check_ip() -- Validation of IPv4 addresses

Description

This function can validate if a given string has a valid IPv4 syntax.

Parameter

  • string $ip - the IP address to check

Return value

boolean - TRUE, if syntax is valid

Note

This function can be called statically.

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