hello
anyone know why enviroments variables dont work in php4.1.2 and up.
i.e. $REMOTE_ADDR dosnt work.
ok i worked it out..
$ip = getenv("REMOTE_ADDR");
It also worked for me using this syntax: $ip = getenv(\"REMOTE_ADDR\"); echo $ip;
but not this one: echo $REMOTE_ADDR;
Why ???