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 [EMAIL PROTECTED] ""Spallek, Heiko"" [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... 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;$icount($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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
RE: [PHP] Display progress in browser using flush(); IE versus NS
Netrape supports multipart documents. Read up on your mime types and encodings, and use that to create a nice progressbar in netscape :) -Original Message- From: Chris Lee [mailto:[EMAIL PROTECTED]] Sent: 26 January 2001 23:53 To: [EMAIL PROTECTED] 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 [EMAIL PROTECTED] ""Spallek, Heiko"" [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... 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;$icount($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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
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:[EMAIL PROTECTED]] Sent: 26 January 2001 23:53 To: [EMAIL PROTECTED] 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 [EMAIL PROTECTED] ""Spallek, Heiko"" [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... 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;$icount($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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: RE: [PHP] Display progress in browser using flush(); IE versus NS
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" [EMAIL PROTECTED], [EMAIL PROTECTED] From: "Sander Pilon" [EMAIL PROTECTED] 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:[EMAIL PROTECTED]] Sent: 26 January 2001 23:53 To: [EMAIL PROTECTED] 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 [EMAIL PROTECTED] ""Spallek, Heiko"" [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... 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;$icount($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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- "What's the Constitution between friends?" - TIMOTHY J. CAMPBELL - Response to President Cleveland, who refused to support a bill because it was unconstitutional -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]