title: Call to member function getClientOriginalExtension() in laravel?
body: <p>try multiple file upload in Laravel so my code for view is </p>
  
  <pre><code>&lt;input type="file" name="photos"&gt;
  </code></pre>
  
  <p>but i facing this problem to cant exact type .. ?</p>
  
  <pre><code>   $img = $request-&gt;file('photos');
    $fileExtension=$img-&gt;getClientOriginalExtension();
  </code></pre>