note 20931 added to function.flush
| From: | nathan dot carlson at us dot artemisintl dot com | Date: | Mon, 22 Apr 2002 15:20:20 +0000 |
| Subject: | note 20931 added to function.flush | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-29681@lists.php.net to get a copy of this message | ||
I haven't had any problems flushing using PHP/Apache in a Windows 2000 Server environment. I do
have to send a few hundred bytes of whitespace (and newlines) to bypass browser buffering in
Netscape and IE browsers, though. The following is an example:
print "Searching...";
print str_repeat(" ", 300) . "\r\n";
flush();
$results = doSearch();
print "done.\r\n";
flush();
print $results;
flush();
--
http://www.php.net/manual/en/function.flush.php
http://master.php.net/manage/user-notes.php?action=edit+20931
http://master.php.net/manage/user-notes.php?action=delete+20931
http://master.php.net/manage/user-notes.php?action=reject+20931