php, mysql and htaccess
| From: | george | Date: | Mon, 05 Mar 2001 23:24:58 +0000 |
| Subject: | php, mysql and htaccess | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-42686@lists.php.net to get a copy of this message | ||
I am trying to protect a folder with an htaccess file which pulls the
username and passwords out of a db but I cant get it to work Can someone
have a look at the code below from the htaccess file.
TIA
george
AuthName "Admins Only"
AuthType Basic
require valid-user
Auth_MySQL_Host
Auth_MySQL_DB
Auth_MySQL_Password_Table users
Auth_MySQL_Username_Field user
Auth_MySQL_Password_Field password
Auth_MySQL_Empty_Passwords off
Auth_MySQL_Encryption_Types MySQ