note 119786 added to features.file-upload.post-method
| From: | russianhacker | Date: | Thu, 25 Aug 2016 13:09:15 +0000 |
| Subject: | note 119786 added to features.file-upload.post-method | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-206386@lists.php.net to get a copy of this message | ||
function normalize_files_array($files = []) {
$arr = [];
foreach ($files['name'] as $index => $filename) {
$arr[] = array(
'name' => $filename,
'tmp_name' => $files['tmp_name'][$index],
'error' => $files['error'][$index],
'size' => $files['size'][$index],
'type' => $files['type'][$index]
);
}
return $arr;
}
----
Server IP: 72.52.91.14
Probable Submitter: 94.175.214.159
----
Manual Page -- http://php.net/manual/en/features.file-upload.post-method.php
Edit -- https://master.php.net/note/edit/119786
Del: integrated -- https://master.php.net/note/delete/119786/integrated
Del: useless -- https://master.php.net/note/delete/119786/useless
Del: bad code -- https://master.php.net/note/delete/119786/bad+code
Del: spam -- https://master.php.net/note/delete/119786/spam
Del: non-english -- https://master.php.net/note/delete/119786/non-english
Del: in docs -- https://master.php.net/note/delete/119786/in+docs
Del: other reasons-- https://master.php.net/note/delete/119786
Reject -- https://master.php.net/note/reject/119786
Search -- https://master.php.net/manage/user-notes.php