$_FILE Error Constants Constant : _FILE « File Directory « PHP






$_FILE Error Constants Constant

 
Name                              Value  Explanation
 
UPLOAD_ERR_OK                     0      No problem
 
UPLOAD_ERR_INI_SIZE               1      File size exceeds php.ini limit set in upload_max_filesize
 
UPLOAD_ERR_FORM_SIZE              2      File size exceeds limit set in hidden element named MAX_FILE_SIZE
 
UPLOAD_ERR_PARTIAL                3      File only partially uploaded
 
UPLOAD_ERR_NO_FILE                4      File was not uploaded
  
  








Related examples in the same category

1.$_FILES Arguments