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 GD Brushes
PHP Webserver Uptime
PHP Detecting Online Users
PHP GD Font Image Text
PHP Easy Upload
PHP Web Based Regex Functions - Email, Username, Domain Validation
PHP PayPal connection
PHP Generating random alphabetic string
PHP PHP Split JS Make Email