August 7th, 2000, 09:42 PM
Hello, I setup a user database that interacts with php. I can have php check usernames and passwords but I want to know if I can extend this past php files to the dir listings? So that I don't have to hardcode a user and password in the .htaccess and .htpasswd files. I would like .htaccess to retrieve the password from mysql not .htpasswd
August 7th, 2000, 11:29 PM
There is mod_auth_mysql that you can add to apache, but I haven't used it.
If you don't want to use .htaccess why not just use a form and directly auth in your php script?
September 9th, 2000, 07:14 PM
if you just use a form and a script to authenticate a user for a page, how would you protect entire directories (and sub-directories) like htaccess does?
September 9th, 2000, 10:09 PM