Answers for "file length php"

PHP
2

php get size of file

$fileSizeInBytes=filesize("/path/to/myfile.txt");
Posted by: Guest on October-22-2019
0

filesize in php

$file = '/path/to/your/file';
$filesize = filesize($file);
 
echo "The size of your file is $filesize bytes.";
Posted by: Guest on June-11-2020

Browse Popular Code Answers by Language