Beranda Pemrograman CodePaste Php format size (kb, mb, gb) PemrogramanCodePasteFunctionPhp Native Php format size (kb, mb, gb) Penulis ariefendi - Maret 22, 2023 PHP format_size.php <?php function format_size($size){ $filesizename = array(" Bytes"," KB"," MB"," GB"," TB"," PB"," EB"," ZB"," YB"); return $size ? round($size/pow(1024,($i=floor(log($size,1024)))),2).$filesizename[$i] : '0 Bytes'; } $file = './directory/files.mp3'; print format_size(filesize($file)); ?> Php format size Php file size to mb Php convert size to mb Php cek ukuran file Php format ukuran file BERITA TERKAITDARI PENULIS Android Example retrofit upload file CodePaste Php auto create mail on cpanel whm, Php membuat email otomatis di cpanel whm CodePaste Auto create subdomain php cpanel, Membuat subdomain otomatis di cpanel whm POPULAR ARTICLES Perintah dasar linux yang wajib diketahui pemula (Linux Command) Belajar linux ariefendi - Maret 22, 2020 0 Tutorial arahkan domain tld ke blogspot blog ariefendi - Februari 11, 2020 0 PHP write text to image, Add text to image CodePaste ariefendi - Maret 28, 2023 0 Cpanel gratis unlimited Tutorial & Pengetahuan ariefendi - Maret 25, 2020 0 Perbaiki error Class ‘KintKint’ not found Php Codeigniter ariefendi - April 5, 2020 0 POPULAR CATEGORIESTutorial & Pengetahuan22Pemrograman19Membuat Website14CodePaste9Php Native9Android7