note 54297 added to function.readfile
| From: | chrisputnamatgmaildibbitydotcizzom at osu1 dot php dot net | Date: | Wed, 29 Jun 2005 22:27:02 +0000 |
| Subject: | note 54297 added to function.readfile | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-91162@lists.php.net to get a copy of this message | ||
I'm really sorry, in my last comment you NEED to say:
ob_flush();
flush();
NOT just flush(); Once you've done this the chunking function should work wonderfully.
Also the creator didn't really document it in the comments, but the reason he had the 1 in
"1*(1024*1024)" was to quickly change the number of megabytes you're using in your
chunks (although I guess that may be obvious).
I hope this helps!
----
Manual Page -- http://www.php.net/manual/en/function.readfile.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+54297
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+54297&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+54297&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+54297&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+54297&report=yes&reason=useless
Delete: non-english -- http://master.php.net/manage/user-notes.php?action=delete+54297&report=yes&reason=non-english
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+54297&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+54297&report=yes
Search -- http://master.php.net/manage/user-notes.php