Re: REMOTE_ADDR in IIS
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.php archive

Re: REMOTE_ADDR in IIS

From: Janwillem Borleffs <jw@jwscripts.com>
Date: Sun Jul 24 2005 - 23:42:13 CEST

aabrahao wrote:
> In IIS 6, windows 2003 with php 4.3.11, the code REMOTE_ADDR
> does not show the IP, but the same page in apache2triad shows the
> IP.
>
>
> I tried
> <? $ip = getenv("REMOTE_ADDR"); print $ip; ?>
> and
> $_SERVER['REMOTE_ADDR']
>

Check the output of phpinfo() to see if anything useful is in there.

JW
Received on Mon Oct 17 21:17:30 2005