I have a very basic upload script, probably lifted straight off the php.net/move_upload_files function page.
move_uploaded_file() is failed because it canno
move_uploaded_file()
The file is removed after the script finishes executing. If you run your script, and then check the /tmp/ folder, the file will not be there no matter what.