You are here: Re: why would a large not upload, when a small does, when it is still within the POST limit? « PHP Programming Language « IT news, forums, messages
Re: why would a large not upload, when a small does, when it is still within the POST limit?

Posted by Andy Hassall on 01/20/06 22:53

On Mon, 09 Jan 2006 23:13:23 +1300, Steve <ThisOne@Aint.Valid> wrote:

>On Sun, 08 Jan 2006 03:08:20 -0800, lawrence k wrote:
>
>> What reasons, other than the POST limit, would a large upload fail?
>
>5 megs of binary data will be sent as a lot more than that of (base 64
>encoded?) ascii data.
>
>Try doubling your limit and see if it magically works.

File uploads are not base64 encoded, they are sent pretty much raw using
multipart/form-data.

http://www.w3.org/TR/html4/interact/forms.html#h-17.13.4.2

A 5MB file will take 5MB plus a few bytes overhead for headers.

--
Andy Hassall :: andy@andyh.co.uk :: http://www.andyh.co.uk
http://www.andyhsoftware.co.uk/space :: disk and FTP usage analysis tool

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация