I need to create a script that allows me to take an uploaded image, resample it down to a thumbnail, and then write the thumbnail to a directory.
Since I don't really relish the concept of creating a world read/writable directory in which to store images, I thought about PHP's FTP functions.
Problem is that the thumbnail, created using PHP's graphics functions, doesn't exist anywhere, so I can't seem to FTP it.
Any ideas how I might accomplish this?