php mendapatkan ukuran file
$fileSizeInBytes=filesize("/path/to/myfile.txt");
Grepper
$fileSizeInBytes=filesize("/path/to/myfile.txt");
$file = '/path/to/your/file';
$filesize = filesize($file);
echo "The size of your file is $filesize bytes.";
$img = get_headers("file URL", 1);
echo $img["Content-Length"];