Wow, thanks a lot.
Now, I have a question. I understand the uploading process now, I think.
Step 1: User goes to form and chooses what file to upload and clicks the 'upload' button.
Step 2: PHP uploads the file as a temporary file (tmp_name) and I am responsible (for security purposes) to check if the file was uploaded by HTTP POST with is_uploaded_file.
Step 3: Once the file passes that test, I can move_uploaded_file to my specified uploads directory on the server under the correct filename.
After this, do I have to store any information in the database? (i.e: file name, file size, file type, etc.) so that I can refer to it at a later time? Is there any other way to go about doing this?
Also, if I have any of my steps wrong, please tell me.
Thanks!
-influx