[on the wrong end of someone else's bad day] Re: [PHP] convert byte to MB
| From: | Jochem Maas | Date: | Tue, 25 Jul 2006 12:35:22 +0000 |
| Subject: | [on the wrong end of someone else's bad day] Re: [PHP] convert byte to MB | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-239760@lists.php.net to get a copy of this message | ||
weetat wrote:
> Hi all ,
>
> I have data which have value in bytes for example ,
>
> $bytes = 33554432;
>
> How to convert this to MB ?
how to read the manual thanks.
http://php.net/filesize
no doubt you won't bother to read any of the user notes and therefore
miss *at least* 4 different implementations that do what you want - not to
mention that if you study the relevant code in the user notes you won't read
you might even learn how to count in bytes (which is IT 101 in anyone's book).
>
> THanks
>
> - weetat (PHP Novice)
your website indicates your a professional, competent, bla bla company -
might I suggest that even the slightest ammount of competence precludes
the ability to STFW and RTFM (and the actually doing so); novice or no novice.
>