Re: Ob_Flush issue

From: Date: Tue, 26 Feb 2008 20:18:52 +0000
Subject: Re: Ob_Flush issue
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-270220@lists.php.net to get a copy of this message
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...... > Try removing the ob_start(). output_buffering is set in your php.ini, so it should already be running. You are probably starting a nested buffer inside of the automatic one. -Shawn

« previous php.general (#270220) next »