PHP upload and list updater program
Posted on 2007-11-13
Im a looking for some general (or specific) advice on how I can accomplish the following using php and mysql.
I want to give the user the ability to upload a pdf document to a file on the server. (I have this part figured out already using a php based upload form)
I want to have a web page that lists the pdfs that have been uploaded that directory in order by date 2007_01_12, 2006_06_04...ect
So I guess what I am wondering is how would I make it so the user simply uploads a document to the server. But, when the document gets uploaded, the php updates the web page that lists all the the documents in the upload directory listing a link to that newly uploaded document.
Is there a any to accomplish this without a database? Does anyone know where I could find some example code that does this?