HTTP_AUTHORIZATION problem

From: Date: Wed, 10 Oct 2001 13:58:47 +0000
Subject: HTTP_AUTHORIZATION problem
Groups: php.general 
Request: Send a blank email to php-general+get-70661@lists.php.net to get a copy of this message
Running Apache 1.3.12, and php cvs, running into trouble with http_auth, I use $a = getenv(HTTP_AUTHORIZATION); and try to echo it back via: echo "$a"; and I get nothing, yet when I use: foreach(getallheaders() AS $key => $value) echo "<b><u>$key</u>:</b> $value <br>\n"; I get it back just fine as: Authorization: Basic r@nD0mcH@raCt3r5 Any reason why this would be, I am kind of new to extracting HTTP_Vars as I never really had a use for it until now. I need to extract it via the getenv.. Thanks... Make a difference, help support the relief efforts in the U.S. http://clubs.lycos.com/live/events/september11.asp

« previous php.general (#70661) next »