|
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*.
[Back to original message]
|