Re: Output text status on a long class
| From: | Andrew Ballard | Date: | Tue, 14 Oct 2008 15:28:09 +0000 |
| Subject: | Re: Output text status on a long class | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-281891@lists.php.net to get a copy of this message | ||
On Tue, Oct 14, 2008 at 11:19 AM, Chrome <admin@chrome.me.uk> wrote:
>
>
>> -----Original Message-----
>> From: uaca man [mailto:uacaman@gmail.com]
>> Sent: 14 October 2008 16:10
>> To: php-general@lists.php.net
>> Subject: Re: [PHP] Output text status on a long class
>>
>> Dan,
>>
>> Try
>> echo "some text";
>> ob_flush()
>> <http://br2.php.net/manual/en/function.ob-flush.php>;
>> *flush()* ;
>>
>> also take a look at the documentation at:
>> http://br2.php.net/manual/en/function.flush.php
>>
>> Angelo
>>
>
> Hi Angelo and Stut
>
> Strange happenings. Tried a few combinations of your suggestions but the
> output is still just dumped at the end
>
> Odd
>
> Thanks for the input (and this may be something to do with the server (which
> I didn't set up))
>
> Dan
There could be other causes, including the browser. Read the author's
note on this page:
http://www.hudzilla.org/phpbook/read.php/13_9_0
I'm not sure what browsers might have similar limits. I suspect they
do it because they usually download full documents all at once rather
than in delayed increments and they want to eliminate a lot of
unnecessary page reflows as content is being delivered. I think I've
even seen a FF extension that waits to display anything until the full
page has been downloaded since it makes pages appear to download
faster.
Andrew