RE: [PHP] How to adress pictures stored outside of the http server root?

2002-03-21 Thread Andrew Chase
If you just want to prevent users from getting a listing of your image directory, you can do a couple of things: 1) Put an empty 'index.html' (or whatever the server default is) in the image directory, so anyone trying to browse the directory will get a blank page. or 2) (Assuming your server i

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

2002-03-21 Thread andy
hmm sounds logical. The idea was to protect the image directory from people who would like to download all the image files. Somebody told me to place the dir outside the document root. So this seems to be wrong. What would you suggest to prevent people from downloading all the image files? Than