Click to See Complete Forum and Search --> : Displaying Folder Contents


Vergeh
02-11-2007, 04:07 AM
Hi all,

I'm developing a website that will frequently have .txt logfiles uploaded to it. My host supports PHP scripting, but they have disabled the ability to view the contents when you access the base of the directory (eg, http://my.website.com/dir/) and have no corresponding index.html.

Is there a way to dynamically display the contents of a directory on the webspace, so I can just upload the txt files via FTP to their own directory and not have to update every time?

Thanks in advance!

bathurst_guy
02-11-2007, 06:06 AM
A simple search of the forum before posting may of resulted in finding this thread (http://www.webdeveloper.com/forum/showthread.php?t=137935) which could be of some use to you.

Vergeh
02-11-2007, 11:10 AM
I did do a search, and that one didn't crop up. Guess I should have used more synonyms.
Thanks, it's a point in the right direction, although my knowledge of PHP is somewhat lacking. I'll give this a shot. I appreciate the help.