note 89631 deleted from function.ob-flush by danbrown
| From: | danbrown@php.net | Date: | Tue, 17 Mar 2009 14:20:53 +0000 |
| Subject: | note 89631 deleted from function.ob-flush by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-152041@lists.php.net to get a copy of this message | ||
Note Submitter: sudheer dot s at binaryvibes dot co dot in
----
In response to comment from jeremy at e2-media dot co dot nz
There is no need to call flush() and ob_end_flush() multiple times.
As the manual clearly states at http://in2.php.net/manual/en/function.ob-end-flush.php
You have to call these functions in proper order to flush the output buffers.
<?php
// some processing
............
// time to output buffers
ob_flush();
flush();
//User has received the output from above code
// Some more code
....