if the request was proxied
several times.
Regards,
Peter Albertsson
-Original Message-
From: ascll [mailto:[EMAIL PROTECTED]
Sent: den 30 mars 2004 03:13
To: [EMAIL PROTECTED]
Subject: [PHP] Wrong IP address
Greetings,
I make use of these: -
?php
echo($_SERVER[REMOTE_ADDR]);
?
to get
Greetings,
I make use of these: -
?php
echo($_SERVER[REMOTE_ADDR]);
?
to get the web IP address for my machine once my PC is connected to
Internet..
Anyway, sometime I get the correct IP address, but sometime NOT.
Does anyone know why?
Thanks in advance.
--
PHP General Mailing List
Hello ascll,
Tuesday, March 30, 2004, 2:12:41 AM, you wrote:
a ?php
a echo($_SERVER[REMOTE_ADDR]);
?
a to get the web IP address for my machine once my PC is connected to
a Internet..
a Anyway, sometime I get the correct IP address, but sometime NOT.
a Does anyone know why?
Firewall? Proxy
--- ascll [EMAIL PROTECTED] wrote:
?php
echo($_SERVER[REMOTE_ADDR]);
?
to get the web IP address for my machine once my PC is connected to
Internet..
Anyway, sometime I get the correct IP address, but sometime NOT.
You're going to have to explain why you think one is right and one is
From: ascll [mailto:[EMAIL PROTECTED]
Subject: [PHP] Wrong IP address
to get the web IP address for my machine once my PC is connected to
Internet..
Are you on a highspeed connection or dialup. Dial up connections tend to
give a different connection with every connection. Also if you use
5 matches
Mail list logo