I want to allow registered members to upload files to the file system
I have two mysql tables members for registered users and a table files to have a trace which member uploaded which file.
now, I only would like to allow the upload of PDF's to the file system.
Then, I want the users to be able to leave a comment about what they think about the uploaded file and maybe even give a rating.
But for that my question is: What would be the easiest way to display the PDF's on a website to be able to allow other users to add a comment ?
currently, the PDF's would just be stored in a folder on the file system. How to get them displayed in a web page??
for information, my files table has
file_id primary key auto_increment
username (same as the username in the members table)
IP (of user)
notes (folder name)
other text fields about the file like subject which should be searchable with a tag related search