This topic is locked

Download multiple files in one click

2/11/2016 2:41:00 AM
PHPRunner General questions
B
b.emanuele author

Hello forum,

In a table there is field with a file-link and some other descriptive fields.

Is there a way in list view mode, to download all files of selected records with one click?

Each record has one only link to a file.

Can anyone please suggest me a php snippet that will do that?
Thank you

Admin 2/11/2016

This is more complicated then just a code snippet though is doable. You need to zip those files, send that zip file to output and then delete it.
You may want to check DocManager template where similar technique was implemented:

http://xlinesoft.com/docmanager

B
b.emanuele author 2/11/2016



This is more complicated then just a code snippet though is doable. You need to zip those files, send that zip file to output and then delete it.
You may want to check DocManager template where similar technique was implemented:

http://xlinesoft.com/docmanager


Hi,it seems interesting, how does this template apply to an existent php runner project?

Do I have to rewrite the entire project or this is just similar to a new "skin"?
Thank you

Admin 2/12/2016

You can add DocManager template to any existing project. This is not a skin though. Template is a combination of database tables, table settings, visual templates, event codes etc.