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 md5 decoding
PHP Human Readable Random String Generator
PHP Converting Repeater Field to Standard WP Meta Field in PHP
PHP Integrating Youtube HTML5 - Sumonst21
PHP Scratch - repeat check
PHP My Proxy
PHP Picture PNG Resize
PHP Check PHP Version - Web Tool
PHP List Authors Alphabetically with First Letter as Header
PHP Last date a file was modified