I’m trying to allow users on my website to choose files and have the server zip those files into one file and create a link for downloading the combined files. The dynamic link is easy but I’m having problems finding a way to zip the files. The ideal format would be ‘.zip’, but ‘.gz’ would work too. I found functions in my PHP book for reading ‘.gz’ files but not to compress them. On the web I found the library ‘zip.lib.php’ but it also appeared to only open and read zip files. If anyone could help guide me in right direction or maybe even provide code! I would be very greatful!