Justtechjobs.com Find a programming school near you






Online Campus Both


php-general | 2001032

Re: [PHP] [ANSWER] problem uploading big (50MB) file From: Jack Dempsey (dempsejn <email protected>)
Date: 03/30/01

basic algebra:
1k = 1024 bytes
1mb = 1024 kbytes = 1048576 bytes
100mb= 104857600 bytes
Xmb = (1048576 * X) bytes

-jack

Matt Williams wrote:
>
> > > Try replacing "100M" with it's byte equivalent. Or maybe it's
> > > kilobytes. One on of my systems they had "2M" and it wouldn't upload
> > > anything cause it didn't parse it right.
> > > In other words, set that value to what you had with say php4.0.1
> > > good luck!
> >
> > replaced 100M by 104857600,
> > and it WORKED !
> >
>
> Further on from this, how do I work out the given byte value for a size in
> M??
>
> TIA
>
> M@
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe <email protected>
> For additional commands, e-mail: php-general-help <email protected>
> To contact the list administrators, e-mail: php-list-admin <email protected>

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-general-unsubscribe <email protected>
For additional commands, e-mail: php-general-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>