Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

how to get the size of an uploaded file in laravel

use IlluminateSupportFacadesStorage;

$size = Storage::size('public/'.$picture->filename');
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #size #uploaded #file #laravel
ADD COMMENT
Topic
Name
8+5 =