Re: [PHP] How to adress pictures stored outside of the http serverroot?

2002-03-21 Thread Rasmus Lerdorf
Think about what you are doing a bit here. You want to store the pictures outside of your document_root, yet you want to reference them directly from a web page. That makes absolutely no sense. By definition, something that can be accessed directly through your web server must be accessible

Re: [PHP] How to adress pictures stored outside of the http serverroot?

2002-03-21 Thread Miguel Cruz
On Thu, 21 Mar 2002, andy wrote: Rasmus Lerdorf [EMAIL PROTECTED] schrieb: The way to do this is to write a little PHP wrapper script that you stick in your document_root that does a readfile() on the file stored outside of the document_root. What would you suggest to prevent people from