I'm wondering if PHP can read the location of a file off of a Local drive/directory, i.e. C:\temp\testfile.txt, put that location into a database field and then make the location a link when a query is run to list the files in that drive.

How would I go about doing something like this?? I've tried connecting to a local drive but I'm not sure about the syntax.

Thanks.