[TYPO3-dev] Byte size of image

Martin Kutschker masi-no at spam-typo3.org
Sat Mar 28 14:29:39 CET 2009


Tapio Markula schrieb:
> Xavier Perseguers
>> I guess you'll be interested into
>>
>> $size = ....;
>> t3lib_div::formatSize($size, $GLOBALS['LANG']->getLL('byteSizeUnits',
>> true));
> 
> that uses 'M' instead of 'Mb' but I can add 'b' to end.

b = bit, B = Byte :)

Masi




More information about the TYPO3-dev mailing list