I was able to code this script without any problems, I understand the process of uploading a file from apache's default temporary directory to the uploads folder.
My question is:
Is this tied to inserting an image into a database? Or an alternative method? If I wanted to tie certain images to a certain users unique id, it seems like uploading a file into a directory wouldn't work.
If inserting an image into a database is the solution to my question, would the correct datatype be LONGBLOB? Again, I'm just guessing after some research this seems to be the solution.
Thanks
Mark