Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

laravel get extension from url

$extension = pathinfo(storage_path('/uploads/my_image.jpg'), PATHINFO_EXTENSION);dd($extension);
Source by www.itsolutionstuff.com #
 
PREVIOUS NEXT
Tagged: #laravel #extension #url
ADD COMMENT
Topic
Name
8+6 =