php get size of file

41

filesize in php -

$file = '/path/to/your/file';
$filesize = filesize($file);
 
echo "The size of your file is $filesize bytes.";

Comments

Submit
0 Comments