Re: best way to flush stdout?

From: Date: Tue, 22 May 2001 11:20:28 +0000
Subject: Re: best way to flush stdout?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-53846@lists.php.net to get a copy of this message
For almost every browser there is, no data inside a <table> will be displayed until the browser get's the matching </table>, so that's one thing to remember. flush() "requests" that any buffered data be sent to the client, but most browsers have their own internal buffer. So in other words, you can't. ;) Plutarck "Phil Glatz" <phil@glatz.com> wrote in message news:5.1.0.14.2.20010521100153.03278138@flawless.net... > I have a page that displays a few lines, then runs a database query that > takes five or six seconds. I'd like to flush stdout and display the first > text while the query is running, so the user doesn't think the site is > down. What's the best way to accomplish this? thanks > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.general (#53846) next »