RE: [PHP] htaccess

From: Date: Wed, 07 Mar 2001 21:16:57 +0000
Subject: RE: [PHP] htaccess
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-42956@lists.php.net to get a copy of this message
Try this: <? echo ($HTTP_SERVER_VARS["PHP_AUTH_USER"]); ?> -----Original Message----- From: Jason Jacobs [mailto:jason@factory7.com] Sent: Wednesday, March 07, 2001 4:09 PM To: php-general@lists.php.net Subject: [PHP] htaccess Hey folks. I have another htaccess question. I have an entire folder set up to require authentication. It's in an htaccess file, not in each page. I was sure that the variable that's passed from the authentication dialog was $PHP_AUTH_USER, but it's not working when I use that in a query. Anyone got ideas? I'd paste my code, but when that wasn't working, I changed it back to hardcoded values. :) Jason -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net For additional commands, e-mail: php-general-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.general (#42956) next »