I have a zip file on the server that I would like to pack up and the delete the zip-file. Is it possible to do that on Linux with PHP?

    23 days later

    There is a handy class that works with ZIP files at:

    http://www.phpconcept.net/pclzip/index.en.php

    It doesn't require PHP to be compiled "--with-zip", just "--with-zlib" which is pretty common. If you are on a Windows environment, it is default.

    Hope this gets you started in the right direction.

      The script works fine. Great! That what I wanted!

        Write a Reply...