note 81749 added to function.flush
| From: | www dot koalabear dot nl at osu1 dot php dot net | Date: | Wed, 12 Mar 2008 12:19:03 +0000 |
| Subject: | note 81749 added to function.flush | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-136965@lists.php.net to get a copy of this message | ||
This will work for IE 7.0 :)
Do not use within <PRE> tag because of the extra spaces send
function hardFlush() {
// Like said in PHP description above, some version of IE (7.0 for example)
// will not 'update' the page if less then 256 bytes are received
// Send 250 characters extra
echo ' ';
echo ' ';
echo ' ';
echo ' ';
echo ' ';
flush();
ob_flush();
}
----
Server IP: 213.249.64.162
Probable Submitter: 81.171.27.209
----
Manual Page -- http://www.php.net/manual/en/function.flush.php
Edit -- https://master.php.net/note/edit/81749
Del: integrated -- https://master.php.net/note/delete/81749/integrated
Del: useless -- https://master.php.net/note/delete/81749/useless
Del: bad code -- https://master.php.net/note/delete/81749/bad+code
Del: spam -- https://master.php.net/note/delete/81749/spam
Del: non-english -- https://master.php.net/note/delete/81749/non-english
Del: in docs -- https://master.php.net/note/delete/81749/in+docs
Del: other reasons-- https://master.php.net/note/delete/81749
Reject -- https://master.php.net/note/reject/81749
Search -- https://master.php.net/manage/user-notes.php