i like to upload some images to a directory with the help of arrays. therefore i have this code:
$allowedExtensions = array(\'jpg\', \'jpeg\', \'png\', \'bmp
I'm not sure if this may solve it for you, but you can try to convert these into "normal" $_FILES values.
$arr_files = @$_FILES['image'];
$_FILES = array();
foreach(array_keys($arr_files['name']) as $h)
$_FILES["image_{$h}"] = array( 'name' => $arr_files['name'][$h],
'type' => $arr_files['type'][$h],
'tmp_name' => $arr_files['tmp_name'][$h],
'error' => $arr_files['error'][$h],
'size' => $arr_files['size'][$h]);
And then run the loop like normal.
See previous related answer