CODE
LIBARY.COM
Home
/
PHP
PHP Showing the file size in kilobytes
Showing the file size in kilobytes
<? $file = "index.php"; echo round(filesize($file)/1024,2)." KB"; ?>
$file = "index.php"; echo round(filesize($file)/1024,2)." KB"; ?>
Copy to Clipboard
Related Snippets
PHP Download a file
PHP Arabic to Farsi and Farsi to Arabic Converter
PHP List Recursive Directories
PHP Mail Send with headers
PHP While Looper
PHP Ma.cx subdomain tool
PHP For Looper
PHP Random password using md5() and time()
PHP Numbers Formatting
PHP ABSPATH PHP Code: Preventing Direct Access and Exiting