Re: Need "Working..." pop up dialog (repost)
| From: | Christian Reiniger | Date: | Tue, 21 Aug 2001 20:38:34 +0000 |
| Subject: | Re: Need "Working..." pop up dialog (repost) | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-63764@lists.php.net to get a copy of this message | ||
On Tuesday 21 August 2001 17:10, Ray Clouse wrote:
> 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);
Uncompressing should not take that much time. And you can speed it up by
using the zlib functions instead of a exec (gunzip ...)
http://php.net/gzopen
Also, if the file to be uncompressed is very large, you should cache the
results (the generated plots).
--
Christian Reiniger
LGDC Webmaster (http://lgdc.sunsite.dk/)
Install once, run forever. Linux.