Zipping files with PHP?

apps

#1

Hello Dreamhosters,

I would like to use a PHP script to create a zip archive. Do I need to install a 3rd party script for this? Any help would be appreciated!

SM


#2

You may want to take a look at PHP’s zip function. I haven’t tried it yet. It seems ZZIPLib must be enabled.
http://sg.php.net/manual/en/book.zip.php

How about invoking a function call?
http://sg.php.net/manual/en/function.exec.php

$50 off and 3 free domains with code: [color=#CC0000]DH3[/color] Sign Up NOW or More Codes Here


#3

both of these solid options, but implementing them is a little over my head. never installed a PHP extension before, and not sure about the command line function call.

any other thoughts/tips? thanks much