For some reason, on my recently installed
PHP 4.0 running with Win98/PWS, the
getenv() function does not return any values.
ip = getenv("REMOTE_ADDR");
returns nothing. I've tried other examples
as well which return nothing.
However,
ip = $REMOTE_ADDR;
works fine.
Also,
phpinfo();
works fine.
Can someone tell me why this might be?
Thanks,
-- Joel