File Uploading Error Constants in PHP : File Upload « Form « PHP






File Uploading Error Constants in PHP

 
UPLOAD_ERR_OK              No error occurred.
 
UPLOAD_ERR_INI_SIZE        The uploaded file exceeds the maximum value specified in the php.ini file.
 
UPLOAD_ERR_FORM_SIZE       The uploaded file exceeds the maximum value specified by the MAX_FILE_SIZE hidden widget.
 
UPLOAD_ERR_PARTIAL         The file upload was canceled and only part of the file was uploaded.
 
UPLOAD_ERR_NOFILE          No file was uploaded.
  
  








Related examples in the same category

1.File Upload Script
2.File Uploader
3.Processing an uploaded file
4.Simple File Upload Form