Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

PHP automatic login to .htaccess protected directory

Status
Not open for further replies.

codequirks

Programmer
Nov 18, 2008
11
GB
Hi all

Bit of Sunday morning coding for a PHP newbie, been working with SQL for years. I can't figure the following out despite spending hours trawling google.

I have a PHP site which the user logs onto. Once logged on they have access to the rest of the site. These secure PHP pages display images/media stored in a folder which I otherwise want to be protected and therefore has an .htaccess file inside. Is there anyway of allowing valid PHP pages to access this folder without displaying the htaccess pop-up authentication box i.e. PHP authorised users just see the page and image seamlessly???

Help appreciated
Mark
 
sure. just google for page level security php.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top