Reply to Re: preventing buffered output

Your name:

Reply:


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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация