your form names the file "upload" while your php script is looking for a file named "file". (there's also no submit button, but I assume you're submitting it somehow.)
More importantly, your form is inside another form. This is invalid and will break in some browsers, and be (at best) unpredictable in others. Your file upload either needs to be part of the larger form, or you need to move the upload form outside of the larger form.




Reply With Quote

Bookmarks