[nycphp-talk] Output Buffer FLUSH
Jon Baer
jonbaer at jonbaer.com
Fri Mar 31 23:46:54 EST 2006
You need to flush a larger chunk of data to IE according to some ...
echo str_pad('',4096)."\n";
http://us2.php.net/flush
- Jon
On Mar 31, 2006, at 9:23 PM, Iulian Manea wrote:
> 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!
>
> _______________________________________________
> New York PHP Community Talk Mailing List
> http://lists.nyphp.org/mailman/listinfo/talk
> New York PHP Conference and Expo 2006
> http://www.nyphpcon.com
> Show Your Participation in New York PHP
> http://www.nyphp.org/show_participation.php
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nyphp.org/pipermail/talk/attachments/20060331/5928812a/attachment.html>
More information about the talk
mailing list