Listing Files in a Directory
Posted on 2007-04-11
I'm trying to set up part of my website so it's easier to share files. To be frank I have no clue where to search.
There are a few things I would like it to do if any one can help:
- List files in the directory so that I don't need to update the page (auto list )
- Not have the exact location but have them as lets say" file.php?filename=test.rar" (stops leaching)
Formatting would be the easy part (i think) because that could be done in a loop if I'm correct
Please if anyone could give be a shove or a kick in the right direction I would be great full.