dimanche 5 janvier 2020

how to get file object laravel

I send file with form like this

<input type="file" class="form-control" name="images[]" multiple enctype="multipart/form-data"/>

but in controller on $request->all() I get only file name

"images" => array:1 [▼
    0 => "just-before-hit.png"
  ]

How to get file object to store it?



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire