|
Posted by Adam on 04/02/06 02:26
I'm a PHP newbie, so bear with me while I try to make sense.
I have a request from my friend to help him in using an .htaccess based
security, which is already setup to protect a directory on the server
(Red Hat Linux, Apache 1.3.33, PHP 4.3.10), and only allow authenticated
users to read pages in that directory.
I was trying to convince him to move to an MySQL/PHP session based
authentication, but that is not possible currently, and is considered
for the future.
Basically he wants to force the authentication through a form that users
can input their login information and checked against what they have
already in .htaccess and if the information is correct they will be
redirected to the page in the directory already protected by the
..htaccess without the browser's login dialog box, and if the information
is wrong then they would be asked to enter it again, without the
browser's box.
Can this be done?
I've read all the HTTP authentication tutorials that I have found, and
couldn't see something like this.
I would appreciate any help or clues.
Thank you.
[Back to original message]
|