Re: [PHP] Ob_Flush issue

2008-02-26 Thread Shawn McKenzie
Bojan Tesanovic wrote: > 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

Re: [PHP] Ob_Flush issue

2008-02-26 Thread Bojan Tesanovic
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

RES: [PHP] Ob_Flush issue

2008-02-26 Thread Thiago Pojda
try now http://pastebin.ca/919399 Remember IE only starts displaying a page after it receives 256bytes. -Mensagem original- De: Ritesh Nadhani [mailto:[EMAIL PROTECTED] Enviada em: terça-feira, 26 de fevereiro de 2008 17:07 Para: php-general@lists.php.net Assunto: [PHP] Ob_Flush issue

[PHP] Ob_Flush issue

2008-02-26 Thread Ritesh Nadhani
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