exactly.
- Original Message -
From: "Hans Spath" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; "Hugo Gallo" <[EMAIL PROTECTED]>
Sent: Saturday, June 01, 2002 10:36 PM
Subject: Re: [PHP-DEV] Getting a remote IP address
> At 01.06.2002 21:44 +020
At 01.06.2002 21:44 +0200, Vergoz Michael wrote:
>please to not ask this question on this list.
>
>print($REMOTE_ADDR);
Bad idea, won't work with register_globals=off.
Instead do it this way:
echo $_SERVER['REMOTE_ADDR'];
or
echo $HTTP_SERVER_VARS['REMOTE_ADDR'];
regards,
Hans Spath
--
PHP
please to not ask this question on this list.
print($REMOTE_ADDR);
Regards,
Vergoz Michael
- Original Message -
From: "Hugo Gallo" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, June 01, 2002 9:30 PM
Subject: [PHP-DEV] Getting a remote IP address
> How do I get a clients