Re: [ANSWER] problem uploading big (50MB) file
| From: | Jack Dempsey | Date: | Fri, 30 Mar 2001 08:39:11 +0000 |
| Subject: | Re: [ANSWER] problem uploading big (50MB) file | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-46249@lists.php.net to get a copy of this message | ||
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@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net