You are here: Re: what is the header to stop buffering? « PHP Programming Language « IT news, forums, messages
Re: what is the header to stop buffering?

Posted by Pedro Graca on 10/28/06 22:17

laredotornado@zipmail.com wrote:
> I'm using PHP 4.4.4. What is the header I need to send in order for
> output to be continuously sent to the client browser as opposed to it
> being buffered and all sent at once?

Disable output buffering in php.ini

output_buffering = Off

but it will not work!

PHP will spew out characters as fast as it has them, then Apache (or
whatever your webserver is) will get hold of them and buffer them :)
So you need to stop Apache (or ...) from buffering (I don't know how to
do that ... you might want to ask in an appropriate newsgroup). If you
manage that, then you'll have proxies, firewalls, routers, ..., between
the webserver and the client browser. They all /may/ add buffering on
their own. Even if they don't, the client browser /may/ buffer the
incoming data before displaying it.

So ... don't worry about it!

--
I (almost) never check the dodgeit address.
If you *really* need to mail me, use the address in the Reply-To
header with a message in *plain* *text* *without* *attachments*.

 

Navigation:

[Reply to this 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

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