|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
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
|
|
#2
|
|||
|
|||
|
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? |
|
#3
|
|||
|
|||
|
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?
|
|
#4
|
|||
|
|||
|
sessions
|
![]() |
| Viewing: Dev Shed Forums > System Administration > Apache Development > htaccess and database |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|