Alright...I've beat my brains to a pulp and ran my fingers bloody trying to figure out how to protect ALL files (including images) within a directory. I would like to use a PHP function which I have successfully written, however, if someone were to directly link to an image file within the "protected" directory...it won't stop them since no PHP has been parsed. I've looked through several books and come to no conclusion except to use mod_auth_mysql for apache along with htaccess basic authenication. That seems to work except for the fact you MUST use the browser's dialog box for username/password input and also they is no way to create a logout for that (other than close the browser).
I want to use a HTML generated username/password login script with session vars. What options do I have? Please help.
Eric
I want to use a HTML generated username/password login script with session vars. What options do I have? Please help.
Eric