...

View Full Version : PHP Directory



nyyankeefan95
12-11-2010, 12:02 AM
Hello, can someone please help me make this. I want a simple php directory script that lists files and folders. If a folder is clicked on then open that directory and if a file is clicked on it will download or if its a .txt or picture it will open in the browser. BUT I NEED IT TO LOOK EXACTLY LIKE THIS: http://test512.x10.mx/ which would be the default cpanel indexing but i use godaddy and i dont like there indexing page.

Please help and whoever make it i will provide a subdomain on my website for you to host your stuff.

BinaryX
12-11-2010, 12:47 AM
You must/can use .htaccess for this.
Google it and you will find the answer.

nyyankeefan95
12-11-2010, 12:51 AM
You must/can use .htaccess for this.
Google it and you will find the answer.

Yes i know but puts the standard apache index page. i want the one shown in the link in my first post.

djm0219
12-11-2010, 11:13 AM
The link you posted is the default when Apache is configured to show directory listings. Using .htaccess and a couple of files you may make directory listings look just about any way you would like. The link below is done with nothing but .htaccess and a couple of files that .htaccess uses. The same is true for the link that is shown on the page.

http://pictures.homephotosnow.com/Stitched.Martin/



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum