On Thu, 26 Sep 2002 11:39:40 -0500
"Wilmar Perez" <[EMAIL PROTECTED]> wrote:

> Hello guys
> 
> I know this should be asked in another list but don't want to subcribe just 
> for a simple question.  I apologise in advance if that bothers anyone.
> 
> I'm trying to check valid IPs that come from a form filled by a user so I'm 
> using the following:

If you do not need to check the range, why do not simply use ip2long ?

http://www.php.net/manual/en/function.ip2long.php

pa

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to