Originally posted by Weedpacket
PHP has Zip and Zlib extensions available (Zip is read only, but see the user notes on the [man]zip[/man] manual page).
Simpler would be to use the server's own utilities via the shell. Depending on your server you may or may not have the utilities installed. Unix-based servers will, Windows-based ones may not.
My server is running on Linux, so of course I use server utilities, but I was wondering if php got nice zip/unzip tar/untar functions..
Php manuals shows how to unzip, or view the contents from zip, thanks, but I also want to know how to zip/tar any files using php.
edit:
I couldn't run the unzip of zip function...
says: Fatal error: Call to undefined function: zip_open()
so I found following article, but could someone explain me this pls?