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();



from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2DRyrWF
via IFTTT

Aucun commentaire:

Enregistrer un commentaire