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()
Your form should use a tag like this:
form
Use multiple/form-data as enctype.
multiple/form-data
enctype