We need a php script to zip all files in a directory to an archive file. Right now we're using a free php script to download files from other servers. This script can be found at [url removed, login to view]
We're looking for expanding the function of this script so that the downloaded files can be added into a zip package directly. Or we can select a file directory to add all files in this directory to a zip file. We've been doing a research on this topic and found some great tips on [url removed, login to view] However, the web server generated a compile error when we tried to add the sample zip archive scripts into the sst script. We're not sure If this is because the web server doesn't provide us the access to modify the config options. However, it is required this script to run on a shared web hosting server.
Thus the final output we need is a php script for the user to select a directory to zip all files into a package, and also a modification on the sst script to add the downloaded files to a zip file. Please note this script has to work on a shared web hosting such as GoDaddy (PHP 5 supported). If you've already had this script, feel free to give us your best offer.