I was wondering if there was an alternative to using a htaccess file to password protecting a directory and the files included within. I have searched throughout books and on the web and have had no success in finding a solution. I dont know if this is even possible at this point, but it would be nice to get confimation of my findings.
The reason why I am trying to do this is that a friend has asked if I could do this because he does not like the way that htaccess looks and feels. What I have resorted to doing is including a script with every file that checks the session. This may not be the greatest solution but I am still leaning the language as I go.
Any and all comments are great appreciated.