note 106565 added to features.file-upload.multiple
| From: | timspeelman at live dot nl | Date: | Fri, 18 Nov 2011 23:48:16 +0000 |
| Subject: | note 106565 added to features.file-upload.multiple | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-184568@lists.php.net to get a copy of this message | ||
The cleanest way to rearrange the $_FILES
<?php
function rearrange( $arr ){
foreach( $arr as $key => $all ){
foreach( $all as $i => $val ){
$new[$i][$key] = $val;
}
}
return $new;
}
?>
----
Server IP: 69.147.83.197
Probable Submitter: 82.139.122.206
----
Manual Page -- http://www.php.net/manual/en/features.file-upload.multiple.php
Edit -- https://master.php.net/note/edit/106565
Del: integrated -- https://master.php.net/note/delete/106565/integrated
Del: useless -- https://master.php.net/note/delete/106565/useless
Del: bad code -- https://master.php.net/note/delete/106565/bad+code
Del: spam -- https://master.php.net/note/delete/106565/spam
Del: non-english -- https://master.php.net/note/delete/106565/non-english
Del: in docs -- https://master.php.net/note/delete/106565/in+docs
Del: other reasons-- https://master.php.net/note/delete/106565
Reject -- https://master.php.net/note/reject/106565
Search -- https://master.php.net/manage/user-notes.php