i want to get all files list and serialize to array, example:
"list" => array("filename", "filename", "filename", "filename");
Thanks in advance.
if(Input::hasFile("rows")) {
foreach(Input::file('rows') as $file){
$format = serialize(array(
"list" => array($file->getClientOriginalName()) // list of all files
));
}
}
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire