Re: [PHP] allowing access to php page by IP

2003-10-07 Thread Chris Boget
> certain webpage and keep everyone else out. I have written code to figure > out what someone's IP is, but am not sure about how I should verify > whether the IP is in the range of 10.8.4.* or 10.8.5.*. Any suggestions? $ipArray = explode( '.', $ipAddress ); if(( $ipArray[0] == 10 ) &&

Re: [PHP] allowing access to php page by IP

2003-10-07 Thread Tom Rogers
Hi, Wednesday, October 8, 2003, 12:23:16 AM, you wrote: AW> Hello, AW> I want to allow access to a php page but am not sure how I should verify AW> the IP once I get it. I want to allow 10.8.4.* and 10.8.5.* to access a AW> certain webpage and keep everyone else out. I have written code to fi

[PHP] allowing access to php page by IP

2003-10-07 Thread Adam Williams
Hello, I want to allow access to a php page but am not sure how I should verify the IP once I get it. I want to allow 10.8.4.* and 10.8.5.* to access a certain webpage and keep everyone else out. I have written code to figure out what someone's IP is, but am not sure about how I should verify