NYCPHP Meetup

NYPHP.org

[nycphp-talk] Output Buffer FLUSH

Iulian Manea talk at esteticastudios.com
Fri Mar 31 21:23:52 EST 2006


Hello everybody,

 

I would really appreciate if one of you more experienced programmers could
help me out on this.

I am trying to get to work both in Firefox and Internet Explorer this little
script below which mainly is based on output flushing.

 

<?PHP

for ($i=1; $i<=4; $i++) {

    echo $i.'<br />';

    flush();

    sleep(1);

}

 

?>

This should display some kind of a counter, each number appearing after a
second has passed. 

 

This works just fine in Firefox, but somehow I cannot get Internet Explorer
to flush its buffer.

 

Does anyone have any idea?!

 

Thanks in advance!

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nyphp.org/pipermail/talk/attachments/20060401/83526c32/attachment.html>


More information about the talk mailing list