note 21828 added to features.file-upload

From: Date: Tue, 28 May 2002 17:41:23 +0000
Subject: note 21828 added to features.file-upload
Groups: php.notes 
Request: Send a blank email to php-notes+get-31106@lists.php.net to get a copy of this message
Somebody asked for the error codes for the $_FILES error variable. I just found them in the code... #define UPLOAD_ERROR_A 1 /* Uploaded file exceeded upload_max_filesize */ #define UPLOAD_ERROR_B 2 /* Uploaded file exceeded MAX_FILE_SIZE */ #define UPLOAD_ERROR_C 3 /* Only partiallly uploaded */ #define UPLOAD_ERROR_D 4 /* No file uploaded */ #define UPLOAD_ERROR_E 5 /* Uploaded file size 0 bytes */ -- http://www.php.net/manual/en/features.file-upload.php http://master.php.net/manage/user-notes.php?action=edit+21828 http://master.php.net/manage/user-notes.php?action=delete+21828 http://master.php.net/manage/user-notes.php?action=reject+21828

« previous php.notes (#31106) next »