Re: php_auth_user not passed back to Apache

From: Date: Mon, 04 Dec 2000 05:29:48 +0000
Subject: Re: php_auth_user not passed back to Apache
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-4264@lists.php.net to get a copy of this message
Are you getting a password prompt with this code? --zak ----- Original Message ----- From: "claude 90" <claude90@hotmail.com> To: <php-windows@lists.php.net> Sent: Sunday, December 03, 2000 10:16 PM Subject: [PHP-WIN] php_auth_user not passed back to Apache > Hello, > > I'm using Apache 1.3.14/php4 (module) running on W98. > I have a problem using PHP authentification. The simple program I'm using > is: > <?php > > if(!isset($PHP_AUTH_USER)) { > Header("WWW-Authenticate: Basic realm=\"Intranet\""); > Header("Status: 401 Unauthorized"); > } else { > echo $PHP_AUTH_USER; > } > ?> > and it doesn't work. It looks like the value of php_auth_user is never > set... I'm desesperate... > > Thanks, > > Claude > > ____________________________________________________________________________ _________ > Get more from the Web. FREE MSN Explorer download : http://explorer.msn.com > > > -- > PHP Windows Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-windows-unsubscribe@lists.php.net > For additional commands, e-mail: php-windows-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.windows (#4264) next »