Re: output buffer with Chrome issue.

From: Date: Fri, 01 May 2009 14:29:57 +0000
Subject: Re: output buffer with Chrome issue.
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-292185@lists.php.net to get a copy of this message
On Fri, 2009-05-01 at 10:24 -0400, Dan Joseph wrote: > Hi Everyone, > > I'm trying to get Chrome to output html information as it comes thru. We > have an iframe running a php script, and when the php script receives > information, it outputs it. FF, IE, and Safari all work just fine, displays > the info as it comes in. However, Chrome is not. It will only display the > information after the php script stops executing. > > I am outputting this after every echo: > > echo str_pad( "", 4096 ) . "\n"; > > flush(); > ob_flush(); > > ob_implicit_flush(); > > Has anyone else had this issue? Anyone know how to fix it? Have you tried a bigger pad? Try... oh I dunno... 40096. if that works then you can chop back until you find the threshold. Seems to be though that it might be better done as AJAX. Cheers, Rob. -- http://www.interjinn.com Application and Templating Framework for PHP

« previous php.general (#292185) next »