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 PHP Regular Expression Example - Matching HTML Tags
PHP Bubble Sort
PHP Access Control for arunranga.com Domain - Web Resource
PHP Singleton Design Pattern
PHP Random password using md5() and time()
PHP Unix Time
PHP Last date a file was modified
PHP Upper letter in a new sentence
PHP Reffers detection
PHP Unset global variables