php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #3458 flush() function does not work
Submitted: 2000-02-11 19:10 UTC Modified: 2002-09-30 20:16 UTC
From: sd50066 at lanet dot lv Assigned:
Status: Not a bug Package: Misbehaving function
PHP Version: 3.0.14 OS: NT4
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: sd50066 at lanet dot lv
New email:
PHP Version: OS:

 

 [2000-02-11 19:10 UTC] sd50066 at lanet dot lv
<html>
<head>
</head>
<?php
for ($i=1;$i<50;$i++) {
for($ii=1;$ii<$i;$ii++){printf("X");}
flush();
sleep(1);
printf("<BR>");}
?>
</html>

The script does not show row of "X" setep-by-step, but processes it and shows outcome at once.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-09-30 20:16 UTC] hholzgra@php.net
php flush() only flushes it internal output buffers
it has no influence on web server buffering or proxies

especially on windows the output is always completely
buffered until script termination AFAIR
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 26 04:01:30 2024 UTC