note 35925 deleted from function.header by vincent

From: Date: Fri, 19 Sep 2003 11:46:25 +0000
Subject: note 35925 deleted from function.header by vincent
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-56754@lists.php.net to get a copy of this message
Note Submitter: adrianciobanu@home.ro ---- 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.

« previous php.notes (#56754) next »