note 20931 rejected from function.flush by sander
| From: | sander@php.net | Date: | Mon, 22 Apr 2002 15:48:49 +0000 |
| Subject: | note 20931 rejected from function.flush by sander | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-29684@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();