when password protecting a folder with .htaccess i think the .htpasswd file stores a list of usernames and passwords in this sort of format:
user:pass
user:pass
user:pass
user:pass
etc.
my question is, if i put php in the .htpasswd file which echos out usernames and passwords from a mysql table in that format will it work? how do i use php code in a non *.php file? is it even possible in .htpasswd files?
once again thanks everyone