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 Filter for URL Detection and Hyperlink Creation
PHP Ping
PHP Files sorting by name
PHP Headers Login System
PHP Deleting last string devided by dot
PHP Iranian National ID Number Checker - PHP Function
PHP Recursive Array Replace by Key or Value
PHP "PHP Array Get: Retrieve a Value from an Array based on a Key"
PHP PayPal system
PHP Use CURL with proxy