I have created a script which requires a user login, I use cookies to store the username and an MD5 string which is then checked whenever the script is called.
Now, I have receieved several requests from people who are interested in extending this user login to cover a 'client' type area of their site - the only way I can see this being done is by using the .htaccess/passwd files to control access form the web - but the question is, is there anyway that I can use my own client mysql db to authenticate and manage that, like collecting the username + password form their input and issuing a cookie for a succesfull login?
Any thoughts welcome, thanks
John