Ho risolto così:

lato html:

Codice PHP:
<label for="files">[b]Carica Files:[/b]</label>


        <form method="post" enctype="multipart/form-data" action="cp_upload_gallery_2.php">  
            <input type="file" name="images[]" id="images" multiple />
            <input type="hidden" name="path" value="<?php echo $path?>" />
            <button type="submit" id="btn">Invia Files</button>  
        </form>
lato php invece così:

Codice PHP:
<?php

$target_path 
$_POST['path'];

if(isset(
$_FILES['images']['error'])){ 
   foreach (
$_FILES['images']['error'] as $key => $error) { 
      if (
$error == UPLOAD_ERR_OK) { 
         
$tmp_name $_FILES['images']['tmp_name'][$key]; 
         
$name $_FILES['images']['name'][$key]; 
         
move_uploaded_file($tmp_name$target_path"/" .$name); 
      } 
   } 
}  

?>