[snip] > Yes. You will have to write your own clean-up code for things like this. I don't mean any user generated temporary files, I mean files which are created by the PHP function ImageGIF(). How should I even know which temporary file name GD chose in each case, or whether it created a temp file at all in a particular case? [/snip] Before the image is created you can get an array of things in the temp file, then check for a new thing after the image is created. You can verify the file type and if all is kosher, delete it. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php