Hi Jesús,

> I have several subnets in my network and want to show different webs
> depending on the subnet the user was.
> I know how to get the IP but not how to compare two IPs numeracally, I
> If ((USER-IP > && (USER-IP <
> Else if ((USER-IP > && (USER-IP <
> ...
> What do you suggest me?

I suggest treating them as strings, and use  (IF) equality/switch statements
to deliver the appropriate web...


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

Reply via email to