We have a front end web page with checkboxes for Files that are stored in our database.
I need a script that will accept a post of these values then:
1) export the files to a temporary directory with the primary key prepended to the filename.
2) compress all the files together.
3) prompt the user to download the compressed file.
4) delete the file when the download is completed.