Re: Ob_Flush issue
| From: | Bojan Tesanovic | Date: | Tue, 26 Feb 2008 21:08:12 +0000 |
| Subject: | Re: Ob_Flush issue | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-270230@lists.php.net to get a copy of this message | ||
Try this it help 90% of time,
function my_flush(){
@flush();
@ob_flush();
@flush();
@ob_flush();
@flush();
@ob_flush();
}
this can force buffer to really flush output when you call it few times, also don't forget @ so it doesn't show empty buffer warning .....
On Feb 26, 2008, at 9:06 PM, Ritesh Nadhani wrote:
Hello I have a sample code like: http://pastebin.ca/919386 I have around 4000 rows returned so it should show me partial output at client after each 100 rows but it never does. I am only getting the output after full completion. Though if you remove the step code and output after every row then i can see the update. My phpinfo(): http://craig.cs.uiowa.edu/smt/phpinfo.php Any idea what might be the problem? I want to show a status message after every 100 rows processed...... --Ritesh http://www.riteshn.com --PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.phpBojan Tesanovic http://www.classicio.com/ http://www.carster.us/