$_FILES[‘userfile’][‘error’] contains the error code associated with the uploaded file. Post navigation What is the difference between $_FILES[‘userfile’][‘name’] and $_FILES[‘userfile’][‘tmp_name’]? How can we change the maximum size of the files to be uploaded?