we need a script designed that will allow a user to upload PDF files, and assign a title and category for the file into a database, and then have a public page that displays the list of PDF files (by category and user-generated title) and links to the file. we will be placing a "header" and "footer" file around the public page so that we may integrate the page into our site templates easily, so the design of the public page just has to be focused on the output of the links.
the script should have an authentication component built-in so that only an admin user can upload the files. there doesn't need to be a registration feature, as there will only be one user for this script, so we can hard-code it if you want into the database or a config file, whichever is easier. also, there has to be a control that only allows PDF files to be uploaded.