There are several possible reasons
1) you have not selected proper form enctype. It has to be set to multipart/form-data
2) you're trying to copy uploaded file into some directory, and you don't have a permission to write to that directory.
3) ...and many more