Re: Need "Working..." pop up dialog (repost)

From: Date: Wed, 22 Aug 2001 17:42:21 +0000
Subject: Re: Need "Working..." pop up dialog (repost)
References: 1 2 3 4  Groups: php.general 
Request: Send a blank email to php-general+get-63943@lists.php.net to get a copy of this message
That's exactly what I needed! Thanks! Richard Lynch wrote:
You may just need a flush() call after the Starting UNZIP. http://php.net/flush PHP (Apache, actually) sends data to the browser when there's enough to send, not right away. -- WARNING richard@zend.com address is an endangered species -- Use ceo@l-i-e.com Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm Volunteer a little time: http://chatmusic.com/volunteer.htm ----- Original Message ----- From: Ray Clouse <ray.clouse@boeing.com> Newsgroups: php.general To: <justin@indent.com.au> Cc: php <php-general@lists.php.net>; <heiko.jones@boeing.com> Sent: Tuesday, August 21, 2001 10:10 AM Subject: Re: [PHP] Need "Working..." pop up dialog (repost)
It's due to space restrictions on the server. We have 300GB available on the server, but the compressed data takes up 200GB, and we're adding new data (several GB) every month or so. So we need to keep as much compressed as possible, but we have to uncompress the data for the webpages to use it. The PHP webpages on the server use the uncompressed data to generate plots. The data is never sent to the user, just the plots. The main problem I'm having is with page resolution. If I say: print("<SCRIPT>jsPopupWindow('Starting UNZIP');</SCRIPT>\n"); $gunzipcmdline = "gunzip /PATHTO/MYDATA"; $result = exec("$gunzipcmdline", $execout, $execretval); print("<SCRIPT>jsPopupWindow('Finished UNZIP');</SCRIPT>\n"); the 'Starting UNZIP' popup appears at the same time as the 'Finished UNZIP' one. The page hasn't resolved until after the gunzip is done, so it doesn't execute the Javascript the way I want it to. I've tried popping up a window, getting the handle, passing the handle to the gunzip code, then closing the handle when the gunzip is done, but that hasn't worked either. -- ------------------------------------------------------------------------- Ray Clouse | Don't fear the penguins. Engineer Scientist/Specialist | Boeing Expendable Launch Vehicles | Ray.Clouse AT boeing.com Huntington Beach, CA | clouse AT rayclouse.org


« previous php.general (#63943) next »