using PHP to authenticate password protected files/folders
Posted 28 July 2006 - 12:00 PM
Posted 28 July 2006 - 12:09 PM
Posted 28 July 2006 - 02:35 PM
I have a folder that holds images, and access to that folder requires authentication. When I create a page that contains images from this folder and I access the page, a pop-up validataion box opens up.
Rather than assign a username/password via server admin for each user, I want to have only one username/password and I'm wondering if there is a way to submit this username/password behind the scenes with PHP.
The reason for this is that I want users to gain access by registering and creating their own username password and all the validation to be done using PHP/MySQL, but I also want server level authentication to block the images from the general public.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users