note 115746 added to features.file-upload.errors
| From: | Viktor | Date: | Wed, 17 Sep 2014 09:15:00 +0000 |
| Subject: | note 115746 added to features.file-upload.errors | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-200461@lists.php.net to get a copy of this message | ||
Update to Adams old comment.
This is probably useful to someone.
<?php
$phpFileUploadErrors = array(
0 => 'There is no error, the file uploaded with success',
1 => 'The uploaded file exceeds the upload_max_filesize directive in php.ini',
2 => 'The uploaded file exceeds the MAX_FILE_SIZE directive that was specified in the HTML
form',
3 => 'The uploaded file was only partially uploaded',
4 => 'No file was uploaded',
6 => 'Missing a temporary folder',
7 => 'Failed to write file to disk.',
8 => 'A PHP extension stopped the file upload.',
);
----
Server IP: 72.52.91.14
Probable Submitter: 83.241.206.21
----
Manual Page -- http://php.net/manual/en/features.file-upload.errors.php
Edit -- https://master.php.net/note/edit/115746
Del: integrated -- https://master.php.net/note/delete/115746/integrated
Del: useless -- https://master.php.net/note/delete/115746/useless
Del: bad code -- https://master.php.net/note/delete/115746/bad+code
Del: spam -- https://master.php.net/note/delete/115746/spam
Del: non-english -- https://master.php.net/note/delete/115746/non-english
Del: in docs -- https://master.php.net/note/delete/115746/in+docs
Del: other reasons-- https://master.php.net/note/delete/115746
Reject -- https://master.php.net/note/reject/115746
Search -- https://master.php.net/manage/user-notes.php