You are here: Re: weird thing; downloading from a php script stops at exactly 2.000.000bytes « PHP « IT news, forums, messages
Re: weird thing; downloading from a php script stops at exactly 2.000.000bytes

Posted by Catalin Trifu on 06/09/05 21:03

Hi,

Thanks for the answer; the amount of memory configured is 64MB.
readfile does no buffering and such things; it simply spits the file
on the wire.
Other suggestions ?

C.


rush wrote:
> "Catalin Trifu" <catalin@isp-software.de> wrote in message
> news:9E.0E.21296.D0508A24@pb1.pair.com...
>
>>Hi,
>> As expected the browser starts the download and reports it is expecting
>
> a file of 4.7MB.
>
>> However, the download stops at 2.000.000 bytes no matter what browser I
>
> use (normally i use
>
>>Firefox on Linux), no matter if php runs on apache2 or apache1.3
>
>
> try changing the amount of memory that php script can use, and see if
> download stops at different place. Default memory for script is 8Mb, and 2Mb
> is suspiciosly equal to 8Mb/word size.
>
> rush
> --
> http://www.templatetamer.com/
> http://www.folderscavenger.com/

 

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

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