Re: [PHP] IPs comparing

2002-11-27 Thread Jason Wong
On Thursday 28 November 2002 01:51, Jesús Pérez wrote: Hi, 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 mean: If ((USER-IP 192.168.0.1) (USER-IP

Re: [PHP] IPs comparing

2002-11-27 Thread DL Neil
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 mean: If ((USER-IP 192.168.0.1) (USER-IP 192.168.0.255)) Else if ((USER-IP 192.168.1.1) (USER-IP

Re: [PHP] IPs comparing

2002-11-27 Thread Alister
On Thu, 28 Nov 2002 02:19:18 +0800 Jason Wong [EMAIL PROTECTED] wrote: 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 mean: If ((USER-IP 192.168.0.1)