Hello, I had a script that was workin for me with PHP 4.0.6. I upgraded to 4.1.0 because another app required it, and it broke the original script I was using. Under 4.0.6 I was able to do the following:
global $PHP_AUTH_USER,$PHP_AUTH_PW; echo $GLOBALS[REMOTE_ADDR]; This would echo the correct results. Now after the upgrade, the code above does not echo anything. This will work, however: echo $_SERVER["REMOTE_ADDR"]; In my php.ini I have the following: register_globals = On register_argc_argv = On Any ideas on how to fix these global variables not being set? Thanks, Matt -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]