Re: weird thing; downloading from a php script stops at exactly 2.000.000bytes

From: Date: Thu, 09 Jun 2005 18:03:40 +0000
Subject: Re: weird thing; downloading from a php script stops at exactly 2.000.000bytes
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-216747@lists.php.net to get a copy of this message
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/

« previous php.general (#216747) next »