Hey Guys-
Can anyone explain to me how I would authenticate a user using PHP to allow them access into a .htaccess + .htpasswd protected area?
The configuration I currently have is a collection of directories under /protected, such /protected/sales/, /protected/adverts/, etc. Each of these directories has it's own .htaccess and .htpasswd. I would like to create a login form that would accept a user's name and password, then authenticate them to allow them to access the directories.
Any ideas?