I've got this problem I can't figure out.
I was keeping user names and md5 hashes for passwords in a mysql db
but, it turns out the users will need to go against the passwords they already know, which means i need to use htacces but the user id of them is important which I was obtaining through my login script.
is there a way in just php to vailidate against htacces then get to the private directory, and then obtain the users id from the db.
could this be done?
user comes in, does the htaccess
go to script page (some var to get user name and retreive thier ID)
go to private dir with the ID in a session var....
i can do this but, can you get vars from htaccess??
thanks for the help