I need to install a new upload system for my adult tube site. The site uses the smarty templates system.
I need users to be able to upload 1 video file at a time. The upload form should have the following attributes...
Category selection. 10 or so checkboxes with different categories
hidden field containing submitters userid
All fields should be required before the upload will start to ensure people can't upload videos without a description/title etc.
Once the video is uploaded it should redirect to another php file where the mysql database is updated.
All inputs should be checked for malicious code then stored in the database. I can do the database connection and insert queries but I need to have all the submitted form details posted to the php script run after the file is uploaded.