View Single Post
Old 12-29-2007, 11:16 PM   #5 (permalink)
Alan @ CIT
Member of the Month
The Frequenter
Member of the Month Top Contributor 
 
Alan @ CIT's Avatar
 
Join Date: Apr 2005
Location: South UK
Posts: 483
Thanks: 51
Alan @ CIT is on a distinguished road
Default

Here is a function I've used on a few projects (because I'm too lazy to write my own :D) which does a fine job of converting a filesize() result (bytes) to a "human readable" size

PHP: filesize - Manual

Alan.
Send a message via MSN to Alan @ CIT
Alan @ CIT is offline  
Reply With Quote