Re: Ob_Flush issue

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.php


Bojan Tesanovic
http://www.classicio.com/
http://www.carster.us/




[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux