/ Published in: PHP
This code demonstrates a simple way to validate IP address using preg_match() PHP function. This is a very simple code, that allows you to perform this task quickly with a minimum lines of code.
URL: http://www.apphp.com/index.php?snippet=php-validate-ip-address