Re: [PHP] Problem with REMOTE_ADDR

2002-09-17 Thread Krzysztof Dziekiewicz
> 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

RE: [PHP] Problem with $REMOTE_ADDR

2001-02-23 Thread PHPBeginner.com
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

Re: [PHP] Problem with $REMOTE_ADDR

2001-02-23 Thread Rosen
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

RE: [PHP] Problem with $REMOTE_ADDR

2001-02-23 Thread Jeff Oien
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

Re: [PHP] Problem with $REMOTE_ADDR

2001-02-23 Thread Kurth Bemis
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