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 from your document_root.
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. -Rasmus On Thu, 21 Mar 2002, andy wrote: > Hi there, > > I am trying to put my images outside the http server root. Anywhere else on > my system to make it inpossible to "steal" those files and images with wget. > > My problem is how to access the files myself :-) I tryed <img > src="/home/user/test/images/22.jpg"> But the server understands : > server.com/home/user/test/images/22.jpg > > So how could I do this? I guess this is possible, isn't it? > > Thanx for any help, > > Andy > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php