RE: [PHP] Detecting IP address

2001-11-19 Thread Oosten, Sjoerd van
some loggings: $LogIp1 = getenv(REMOTE_ADDR); $LogIpaddr = gethostbyaddr($LogIp1); $LogIpname = gethostbyname($LogIp1); $LogBrowser = $HTTP_USER_AGENT; $LogReferer = getenv(HTTP_REFERER); Sjoerd van Oosten Digitaal vormgever [EMAIL PROTECTED] Datamex

Re: [PHP] Detecting IP address

2001-11-19 Thread Sebastian Wenleder
Hi Heidi, Does anyone have any idea how i can detect a clients IP address? in PHP: ? echo $REMOTE_ADDR; ? best, Sebastian -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list

Re: [PHP] Detecting IP address

2001-11-19 Thread Jason G.
Use the $HTTP_SERVER_VARS['REMOTE_IP'] variable... At 01:58 AM 11/19/2001 -0800, Heidi Belal wrote: Does anyone have any idea how i can detect a clients IP address? I've found javascripts on the net but they only work on netscape and only when java is enabled. I need it to work on IE. Thanks!