Why is that when I run my script with php.exe in dos $REMOTE_ADDR returns nothing? Where as running the script through the browser returns the ip address as needed. Also getenv(REMOTE_USER) does not work too but works in the browser. Is there another function that can return the remote ip address?
thanks