2006-02-24 IPアドレスをValidate if( $ip == long2ip(ip2long($ip)) ){ ...http://phpspot.org/blog/archives/2006/02/phpipvalidate.html