Basically, I've been researching this for about a week now and have only been able to find a handful of not-so-useful articles. I don't know if what I want to do is even possible, but I want to ask here as the advice around these parts has always been top-notch. Here's what I want to do.
I'd like to have a directory on the server where people can place documents. These would be in a share and everyone would have root server access since I am operating on an intranet. On my website, I'd like to have a page that lists all the files within said directory and makes them available for downloading. Simply, it's a small little document repository, dynamically created using PHP.
The few suggestions I've seen revolve around using MS's Index Server for this, and while I have seen a couple code examples, nothing has come close to what I am looking for.
First off, is what I am looking to do possible? Can I have a page dynamically list the files in a directory and make them available for download?
Second, if possible, could someone point me in the right direction?
Any help would be greatly appreciated.