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

REMOTE_ADDR in IIS

From: aabrahao <artur.abrahao@terra.com-dot-br.no-spam.invalid>
Date: Sun Jul 24 2005 - 23:07:46 CEST

Hi,

     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']

           regards,

http://www.DevPlug.com --Connecting Developers
Posted from: http://www.devplug.com/ftopic57612.htm
Received on Mon Oct 17 21:17:26 2005