On Saturday 17 January 2004 04:03, Scott Taylor wrote: > >Alternately, if you aren't able to create directories or access files > >outside the DocumentRoot for your site, you can create an unbrowsable > >storage directory protected with a .htaccess file. If the filesystem > >permissions are correct, your PHP script will be able to read content > >from that directory, because PHP code isn't subject to .htaccess rules. > > It actually does not work.
Could you explain what, exactly, does not work? > I am trying to load a PDF file. I've tried > to load it from a protected directory loading it with headers, but this > fails if the protection is on. Does this make sense to you? The above outlines a scheme which is workable. Could you describe the steps you took to implement said scheme which lead you to the conclusion that "It actually does not work" ? -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * ------------------------------------------ Search the list archives before you post http://marc.theaimsgroup.com/?l=php-general ------------------------------------------ /* It is not good for a man to be without knowledge, and he who makes haste with his feet misses his way. -- Proverbs 19:2 */ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php