tags:

views:

89

answers:

1

I need my PHP script (running on a Linux server) to dynamically create a downloadable zip. Presently my script is working locally on my Windows server, but not on Linux.

If anyone can help me out with sample script, your help would be much appreciated.

+1  A: 

See the ZipArchive class. There are some code examples, e.g. under ZipArchive::addFile.

Lukáš Lalinský