Return to Snippet

Revision: 7005
at July 1, 2008 09:37 by aristoworks

Initial Code
$string = "";
if (preg_match(
$string)) { 
echo "IP address is good.";

Initial URL

Initial Description
A simple method of validating an IP address using PHP and regular expressions

Initial Title
PHP (RegEx) IP Address Validation

Initial Tags
php, validation, ip

Initial Language