Net_CheckIP::check_ip()

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

Synopsis

require_once 'Net/CheckIP.php';

boolean Net_CheckIP::check_ip (string $ip)

Beschreibung

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

Parameter

Rückgabewert

boolean - TRUE, if syntax is valid

Hinweise

Diese Methode kann statisch aufgerufen werden.

Beispiel