Answers for "you need to check the size of a file in php function"

PHP
2

php get size of file

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

get file size in php

$img = get_headers("file URL", 1);
echo $img["Content-Length"];
Posted by: Guest on May-13-2021

Code answers related to "you need to check the size of a file in php function"

Browse Popular Code Answers by Language