Posted by Janwillem Borleffs on 07/25/05 00:42
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
Navigation:
[Reply to this message]
|