> Whenever I use REMOTE_ADDR, it gives me the IP of the server. Of course, I
> am not interested in this and want the IP of the client. I put this code in
> to resolve it and it still didnt work. What am I doing wrong?
Try HTTP_CLIENT_IP. It is set in some situations.
--
PHP General Mailing L
If you are developing on windows (save - refresh ie ... )
then sure, your IP is the IP of the machine ...
if someone connects to you from outside then the remote host won't be
127.0.0.1 .. it will be his own
Sincerely,
Maxim Maletsky
Founder, Chief Developer
PHPBeginner.com (Where PHP Beg
No,
the server is remote.
"Kurth Bemis" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> At 09:54 AM 2/23/2001, Rosen wrote:
>
> is the machine that your browsing on the same machine that you have your
> serving software on?
>
> ~kurth
>
>
> >Hi,
> >I have pro
Same thing happens to me:
http://www.webdesigns1.f2s.com/remote_addr.php
Jeff Oien
code:
> At 09:54 AM 2/23/2001, Rosen wrote:
>
> is the machine that your browsing on the same machine that you have your
> serving software on?
>
> ~kurth
>
>
> >Hi,
> >I have problem with us
At 09:54 AM 2/23/2001, Rosen wrote:
is the machine that your browsing on the same machine that you have your
serving software on?
~kurth
>Hi,
>I have problem with using of "$REMOTE_ADDR" variable.
>The variable always return me "127.0.0.1" ( localhost ),
>
>How can I get the IP of the remote
5 matches
Mail list logo