|
Posted by ZeldorBlat on 02/05/06 01:46
noone wrote:
> laredotornado@zipmail.com wrote:
> > Hi,
> >
> > What directives/headers can I add to my PHP page so that output is
> > displayed on my HTML browser as it is received as opposed to waiting to
> > receieve it all and then displaying it? Ideally, this solution would
> > work for PC IE 6, Firefox, and Safari,
> >
> > Thanks for the help, - Dave
> >
>
> some well placed flush(); commands work for me....
>
> do stuff
> flush();
> do more stuff
> flush();
>
> etc...
That's one option. Another would be to enable implicit flush in
php.ini:
<http://www.php.net/manual/en/ref.outcontrol.php#ini.implicit-flush>
This will probably slow things down consderably, though. Also remember
that, regardless of what you tell PHP to do, the webserver itself may
be doing some buffering.
> M.
[Back to original message]
|