<scrambles through files> I have a bunch of image functions somewhere... hmmm
Here is the pseudo-code:
Grab POST data (your file)
Make sure it's a file on your server
Move that file to a directory
Read in the entire contents of the file (via GD)
read in the entire contents of the watermark (via GD)
Use ImageCreateTrueColor to make a new image
Fille it with date from the original file
Use ImageCopyResize and copy the watermark over
Write entrie contents to original file.
So yeah there is the idea behind it. You can learn about files at
www.php.net/files and you can learn about images at
www.php.net/image
So take it from there Sam.