From: [EMAIL PROTECTED]
Operating system: Windows 98
PHP version: 4.1.2
PHP Bug Type: Output Control
Bug description: The flush() doesn't properly work.
I want to use the Server-push technology to create my website in
Win98+Apache. However when I use the following code:
while(!connection_aborted()){
echo 'Hello.';
//..some other code..
flush();
sleep(5);
set_time_limit(10); //to prevent the code from time limit
}
However, the code doesn't send 'Hello' to the Browser(IE 6.0) every 5
seconds, Actually It DOESN'T SEND ANY CODE TO THE BROWSER. I am confused,
my boss is ANGRY at my slow work. Please help me. Thank you.
--
Edit bug report at http://bugs.php.net/?id=17328&edit=1
--
Fixed in CVS: http://bugs.php.net/fix.php?id=17328&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=17328&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=17328&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=17328&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=17328&r=support
Expected behavior: http://bugs.php.net/fix.php?id=17328&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=17328&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=17328&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=17328&r=globals