Is this a server thing, becuse I have just updated the server, and I used to use it all ver the site and it worked ... is there anything else that could do the job of $REMOTE_ADDR ?
I run the windows isapi 4.0.5 on Sambar 5.1 if that healps ----- Original Message ----- From: "Simon Willison" <[EMAIL PROTECTED]> To: "Philip J. Newman" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Friday, March 01, 2002 11:15 AM Subject: Re: [PHP] OMG your right ... $REMOTE_ADDR don't work in Samber 5.1, PHP4 > Philip J. Newman wrote: > > >OK yah, this is a pain in the butt, $REMOTE_ADDR Dose not work in Sambar 5.1. Anyone have anyone have any solutions that can be used insteard? > > > Whenever you have a problem like this run phpinfo(); and have a look at > the available environment variables. Useing print_r($HTTP_SERVER_VARS); > can be very helpful as well. > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php