I have used Input::file(\'upfile\')->getClientOriginalName() to retrieve name of uploaded file but gives name with extension like qwe.jpg.How do I g
Input::file(\'upfile\')->getClientOriginalName()
qwe.jpg
here you need to call php PATHINFO_FILENAME
$file = $request->file('fileupload')->getClientOriginalName(); $fileName = pathinfo($file,PATHINFO_FILENAME); dd($fileName);