>Does anyone know how to create a .zip file using php?

Hmmmm.   Not sure if gzip can handle .zip file per se, or if .gz file is
okay for what you need, but try here:

http://php.net/manual/en/ref.zlib.php


If not, there's probably some software out there somewhere that runs on
Linux that could be exec()ed to create a zip file.

If you are on Windows, I think the exec() stuff may or may not work
depending on a whole host of factors, such as PHP version, which Win version
you're on, ... Or maybe it just never worked...

But, if you could get exec() to work on your box, you could probably find a
command-line interface to a zip archive package somewhere.



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to