fix ws, add note about internet explorer needing to see at least 256 bytes of content before rendering

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@61595 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
jim winstead 2001-11-05 21:10:40 +00:00
parent 4b83410f02
commit ac24754061

View file

@ -1,5 +1,5 @@
<?xml encoding="iso-8859-1"?>
<!-- $Revision: 1.16 $ -->
<!-- $Revision: 1.17 $ -->
<reference id="ref.outcontrol">
<title>Output Control Functions</title>
<titleabbrev>Output Control</titleabbrev>
@ -61,28 +61,34 @@ ob_end_flush();
</funcsynopsis>
<simpara>
Flushes the output buffers of PHP and whatever backend PHP is
using (CGI, a web server, etc.) This effectively tries to push
using (CGI, a web server, etc). This effectively tries to push
all the output so far to the user's browser.
</simpara>
<note>
<para>
<function>flush</function> has no effect on the buffering
scheme of your webserver or the browser on the client
side.
</para>
<para>
Several servers, especially on Win32, will still buffer
the output from your script until it terminates before
transmitting the results to the browser.
</para>
<para>
Even the browser may buffer its input before displaying it.
Netscape, for example, buffers text until it receives an
end-of-line or the beginning of a tag, and it won't render
tables until the &lt;/table&gt; tag of the outermost table is
seen.
</para>
</note>
<note>
<para>
<function>flush</function> has no effect on the buffering
scheme of your webserver or the browser on the client
side.
</para>
<para>
Several servers, especially on Win32, will still buffer
the output from your script until it terminates before
transmitting the results to the browser.
</para>
<para>
Even the browser may buffer its input before displaying it.
Netscape, for example, buffers text until it receives an
end-of-line or the beginning of a tag, and it won't render
tables until the &lt;/table&gt; tag of the outermost table is
seen.
</para>
<para>
Some versions of Microsoft Internet Explorer will only start to display
the page after they have received 256 bytes of output, so you may need to
send extra whitespace before flushing to get those browsers to display the
page.
</para>
</note>
</refsect1>
</refentry>