0

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.

2
  • I'll give you a hint: It's Linux Commented Oct 6, 2009 at 13:03
  • 1
    why dont you post your script along with any error messages you get when you run it in Linux. Commented Oct 6, 2009 at 13:31

1 Answer 1

1

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

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.