/ Published in: PHP
Use: echo format_size(filesize("fichier")); Example result: 13,37 Ko
Expand |
Embed | Plain Text
<?php /* Use : echo format_size(filesize("fichier")); Example result : 13,37 Ko */ function format_size($o) { foreach ($size as $k => $v) if ($o >= $v) { if ($k == 'octets') } } ?>
You need to login to post a comment.
