note 114325 added to features.file-upload.multiple
| From: | javad dot geek at gmail dot com | Date: | Fri, 07 Feb 2014 14:14:44 +0000 |
| Subject: | note 114325 added to features.file-upload.multiple | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-198432@lists.php.net to get a copy of this message | ||
$countarray = count($_FILES['uploadfile']['name']);
$newarray = array();
for($i=0;$i<$countarray;$i++){
$newarray[$i]['name']=$_FILES['uploadfile']['name'][$i];
$newarray[$i]['type']=$_FILES['uploadfile']['type'][$i];
$newarray[$i]['tmp_name']=$_FILES['uploadfile']['tmp_name'][$i];
$newarray[$i]['error']=$_FILES['uploadfile']['error'][$i];
$newarray[$i]['size']=$_FILES['uploadfile']['size'][$i];
}
----
Server IP: 72.52.91.14
Probable Submitter: 72.52.91.14
----
Manual Page -- http://php.net/manual/en/features.file-upload.multiple.php
Edit -- https://master.php.net/note/edit/114325
Del: integrated -- https://master.php.net/note/delete/114325/integrated
Del: useless -- https://master.php.net/note/delete/114325/useless
Del: bad code -- https://master.php.net/note/delete/114325/bad+code
Del: spam -- https://master.php.net/note/delete/114325/spam
Del: non-english -- https://master.php.net/note/delete/114325/non-english
Del: in docs -- https://master.php.net/note/delete/114325/in+docs
Del: other reasons-- https://master.php.net/note/delete/114325
Reject -- https://master.php.net/note/reject/114325
Search -- https://master.php.net/manage/user-notes.php