|
Hi Xiaopeng,
I think for a single file, you can do:
<a href="">download
zipped file</a>
For downloading all files, I don't think there is a very
straightforward way to do this, except by building up a URL on the fly. Perhaps
you could use _javascript_ to add to the URL, for example at the beginning of the
template put:
url="";
and then for each record, do:
url+="[filename],";
then
at the end of the template:
url+="'>download all</a>";
document.write(url);
This
is untested code, but I think that's how I would go about it. You would have to
change zipfile.php to read in url, and use "explode" to get the file from the
comma delimited list.
regards,
Jacob
|
- Re: [UMN_MAPSERVER-USERS] Enable zip file downloading fr... Delfos, Jacob
- Re: [UMN_MAPSERVER-USERS] Enable zip file downloadi... Xiaopeng Xiong
- Re: [UMN_MAPSERVER-USERS] Enable zip file downloadi... Delfos, Jacob
- Re: [UMN_MAPSERVER-USERS] Enable zip file downl... Xiaopeng Xiong
- [UMN_MAPSERVER-USERS] Query template + java... Xiaopeng Xiong
- Re: [UMN_MAPSERVER-USERS] Query templat... Richard Greenwood
- Re: [UMN_MAPSERVER-USERS] Query templat... Xiaopeng Xiong
