mercredi 31 janvier 2018

Call to member function getClientOriginalExtension() in laravel?

try multiple file upload in Laravel so my code for view is

<input type="file" name="photos">

but i facing this problem to cant exact type .. ?

   $img = $request->file('photos');
  $fileExtension=$img->getClientOriginalExtension();



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire