how to create a list of files in a folder
I have searched using Google and searched on this site. It may be that I just don't have the right terms for my search, but...
I am trying to build a site where various people can login to get stored pdf documents. One or two people will be uploading the pdf and others will routinely login to get/read the files.
I know how to use php to get the authorization level and direct the administrators to an upload page, and have standard users directed to a different page.
Is there a way to get php to build a list of files in a specific folder on the website and display this list?