note 23883 deleted from function.filesize by vincent
| From: | vincent@php.net | Date: | Sat, 16 Aug 2003 21:10:56 +0000 |
| Subject: | note 23883 deleted from function.filesize by vincent | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-54475@lists.php.net to get a copy of this message | ||
Note Submitter:
----
In sponger's my_filesize he multiplies these every single time my_filesize is called I think
it'd probably be faster to hard code the digits like so.
$kb=1024;
$mb=1048576;
$gb=1073741824;
$tb=1099511627776;