note 35925 added to function.header

From: Date: Fri, 19 Sep 2003 11:16:27 +0000
Subject: note 35925 added to function.header
Groups: php.notes 
Request: Send a blank email to php-notes+get-56752@lists.php.net to get a copy of this message
I just discovered a bug fix for something very elusive which caused a lot of problems to many: sometimes a download of a large file, triggered from the browser simply doesn't work, the browser stops at a certain percent. I fixed this issue by changing the maximum allocated memory , like this: ini_set("memory_limit", "20M"); you can use a smaller size, of course if that fits you. The standard size probably isn't enogh (8M i think). After that i used a standard feof/fread cycle. This is a fix only for the issue i mentioned earlier. ---- Manual Page -- http://www.php.net/manual/en/function.header.php Edit Note -- http://master.php.net/manage/user-notes.php?action=edit+35925 Delete Note -- http://master.php.net/manage/user-notes.php?action=delete+35925&report=yes Reject Note -- http://master.php.net/manage/user-notes.php?action=reject+35925&report=yes

« previous php.notes (#56752) next »