Ok, so my host doesn't allow my script to have write permission on my folders. This makes a file upload solution much more difficult. However, I did create a solution using FTP. I can still upload files through the script, and then have php upload them from the temp directory to the site through ftp. I'm not really having problems with that part, and its been working fine for a while.
I am now working on a picture database, and I want to be able to create thumbnails for images automattically. I understand how to open images and resize them, but how do I copy the thumbnail to the site through ftp? I can't point the PHP ftp_put function to a local file because there are none, since the file only exists in a variable. Any ideas?