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
1) Are the post_max_size and upload_max_filesize holding higher value than the size of the file you are trying to upload?
2) Does your uploading script take longer time to execute than the value of the max_execution_time variable allows?
3) I assume your uploading script doesn't consume as much memory as the memory_limit variable allows. When the client is uploading the file to the server, then the server is probably holding some of it in memory while doing so. I'm not sure if it somehow affects the limit of the memory_limit variable in php.ini.
These variables can be changed in php.ini and/or .htaccess or with ini_set().
Hope that helps.
be careful with your $upload_file. it might have been lack of a "/" when you concatenated folder path and name of file uploaded.