By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
448,873 Members | 1,011 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 448,873 IT Pros & Developers. It's quick & easy.

directory not show in website

P: 57
i have some file which contain in directory(download).
i link some file with this directory.

for example:
i visit
its show. but when i type in addressbar then its go to this link don't show download directory and its contain files.

please help me how to do thsi

Dec 1 '11 #1
Share this Question
Share on Google+
3 Replies

P: 155
it's probably security problem.

it can be .htaccsee to take you back to the default index.php if he cannot find any thing, or directory permission is not allowing you to see the content of the directory.

you should echo the file path in a loop if there is more files to download.

hope it helps.
Dec 1 '11 #2

P: 638
my be directory listing is denied and then redirected towards he home page
regards ,
Omer Aslam
Dec 2 '11 #3

P: 1,059
agreed with Omerbutt and Canabatz, showing directory listing is not a very good idea, it can create security hole.

you better write a script and show the list in a technical way so that user cannot see from what location you are downloading
Dec 2 '11 #4

Post your reply

Sign in to post your reply or Sign up for a free account.