I have a PHP site and my hosting provider provides SSL encryption for
certain pages. So I've created an SSL-enabled login page where users can
enter a username and password. But I don't know where to go from here.
What I want to do is have users enter their credentials on the login page,
then get redirected to their own page that is also SSL encrypted - or to
directory with a listing of files (does not have to be pretty - will be used
mainly for downloading files). There are only three users at this point so
I want to store credentials in a flat file rather than a database.
How do I do this with PHP? Where can I get a basic authentication script?
Thanks in advance.
certain pages. So I've created an SSL-enabled login page where users can
enter a username and password. But I don't know where to go from here.
What I want to do is have users enter their credentials on the login page,
then get redirected to their own page that is also SSL encrypted - or to
directory with a listing of files (does not have to be pretty - will be used
mainly for downloading files). There are only three users at this point so
I want to store credentials in a flat file rather than a database.
How do I do this with PHP? Where can I get a basic authentication script?
Thanks in advance.
Comment