PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
Periodically I create a few files (5-10) on the server via php. I need to allow the user to download them altogether. As far as I see it, the only way it can be done is by compressing all files in one file and displaying it to the user, so he can download it. How can I create a zip (zip or gzip) file that will compress many files at once?
Thank in advance
I've seen this link, and it doesn't help. It regards only the "Read Only Access" whick doesn't enable creating a new zip file. And the other Zlib php library doesn't tell you how to create a zip file that contains many files.