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.
>Than
Hi Heidi,
>Does anyone have any idea how i can detect a clients
>IP address?
in PHP:
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 administrators, e-mail: [EM
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]
Datame
3 matches
Mail list logo