Sorry for the cross post but i'm hoping on more success here then in the Intermediate sectionI've written (and borrowed) the following code into my script to allow users to upload images. It works fine but i keep getting a pile of temporary files in the root-dir. They look like this: 'CGItemp19549' and are a plain copy of the uploaded file. (when i add the right extention it's the uploaded image) Is there a way to prevent this or do I have to write some code to remove these files automaticly ?