Re: RE: [PHP] Display progress in browser using flush(); IE versus NS
| From: | Chris Carbaugh | Date: | Sat, 27 Jan 2001 04:03:52 +0000 |
| Subject: | Re: RE: [PHP] Display progress in browser using flush(); IE versus NS | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-36951@lists.php.net to get a copy of this message | ||
Netscape waits until the HTML entity is complete. Meaning it will
render a table as soon as it gets "</TABLE>".
Chris
On Sat, 27 Jan 2001, Sander Pilon wrote:
> Date: Sat, 27 Jan 2001 00:39:17 +0100
> To: "Chris Lee" <lee@mediawaveonline.com>,
> <php-general@lists.php.net>
> From: "Sander Pilon" <sander@3dnews.net>
> Subject: RE: [PHP] Display progress in browser using flush(); IE
> versus NS
>
> Look here -
>
> http://home.netscape.com/assist/net_sites/mozilla/index.html
> (That is not an animated gif)
>
> http://home.netscape.com/assist/net_sites/pushpull.html
>
> It only works in netscape (so far), but hey... you can't forget the
> two
> remaining people on the planet that actually use it, right?
>
>
> > -----Original Message-----
> > From: Chris Lee [mailto:lee@mediawaveonline.com]
> > Sent: 26 January 2001 23:53
> > To: php-general@lists.php.net
> > Subject: Re: [PHP] Display progress in browser using flush(); IE
> versus
> > NS
> >
> >
> > havent tested this but im almost sure that netscape waits until the
> entire
> > page is downloaded until being displayed IF there are tables on the
> page.
> > write a small test script to see if Im right.
> >
> >
> > --
> >
> >
> >
> > Chris Lee
> > Mediawaveonline.com
> > lee@mediawaveonline.com
> >
> >
> >
> >
> >
> > ""Spallek, Heiko"" <heiko@dental.temple.edu> wrote in message
> >
>
news:1184C4C362ADD111994B00805F9F6641E3E807@athena.dental.temple.edu...
> > > Hi,
> > >
> > > I have a script which slowly processes several thousand lines of
> text. I
> > > want to give users a feeling for that the process is not dead.
> > Thus, I am
> > > using:
> > >
> > > ...
> > > print "processing ";
> > > print"
> > > ";
> > > flush();
> > >
> > > for($i=0;$i<count($total);$i++) {
> > > print".
> > > ";
> > > flush();
> > > // do something time consuming
> > > }
> > > ...
> > >
> > > Works perfect in IE 5.5: It shows the word "processing" followed
> every 2
> > > seconds (denpending on what I am doing) by a new period.
> > >
> > > But, in Netscape nothing shows up until the entire process has
> finished.
> > > When I push "stop" on the Netspace menu it shows what was
> transfered so
> > far
> > > and "Transfer interrupted!" But, I would rather have it the way
> it is in
> > IE.
> > >
> > > Any idea how to improve the code above?
> > > Thanks!
> > >
> > > Der Heiko
> > >
> > > Buchtipp: http://www.aufbruch.com/
> > > Heiko und Gisela Spallek:
> > > Aufbruch ins Land der unbegrenzten Moeglichkeiten.
> > > Studieren, Arbeiten und Leben in den USA: Tips fuer
> Neuankoemmlinge
> > > 2. erweiterte und ueberarbeitete Auflage: ISBN: 3-934407-01-3
> > >
> > >
> > >
> > >
> > >
> > >
> > > --
> > > PHP General Mailing List (http://www.php.net/)
> > > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> > > For additional commands, e-mail: php-general-help@lists.php.net
> > > To contact the list administrators, e-mail:
> php-list-admin@lists.php.net
> > >
> >
> >
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> > For additional commands, e-mail: php-general-help@lists.php.net
> > To contact the list administrators, e-mail:
> php-list-admin@lists.php.net
> >
> >
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail:
> php-list-admin@lists.php.net
>
--
"What's the Constitution between friends?" - TIMOTHY J. CAMPBELL -
Response to President Cleveland, who refused to support a bill because
it was unconstitutional