mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
- The whole page as a note doesn't make sense...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@132015 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
0172434e4d
commit
db2e45f655
1 changed files with 29 additions and 31 deletions
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.2 $ -->
|
||||
<!-- $Revision: 1.3 $ -->
|
||||
<!-- splitted from ./en/functions/outcontrol.xml, last change in rev 1.1 -->
|
||||
<refentry id="function.flush">
|
||||
<refnamediv>
|
||||
|
@ -17,36 +17,34 @@
|
|||
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>
|
||||
Server modules for Apache like mod_gzip may do buffering of their own
|
||||
that will cause <function>flush</function> to not result in data being
|
||||
sent immediately to the client.
|
||||
</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 </table> 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>
|
||||
<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>
|
||||
Server modules for Apache like mod_gzip may do buffering of their own
|
||||
that will cause <function>flush</function> to not result in data being
|
||||
sent immediately to the client.
|
||||
</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 </table> 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>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
||||
|
|
Loading…
Reference in a new issue