Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

how to get file extension in laravel

//Where $file is an instance of IlluminateHttpUploadFile
$extension = $file->getClientOriginalExtension();
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #file #extension #laravel
ADD COMMENT
Topic
Name
4+4 =