compressing a folder into different formats in php
<p>hey guys , im dealing with a script that it should compress and folder and make it ready in 3 versions  :</p>

<p>7z 
zip
tar.gz </p>

<p>surely i did found a way on how to make a zip file out of a folder in php by using a zip compression class </p>

<p><a href="http://www.phpclasses.org/package/2322-PHP-Create-ZIP-file-archives-and-serve-for-download.html" rel="nofollow">http://www.phpclasses.org/package/2322-PHP-Create-ZIP-file-archives-and-serve-for-download.html</a></p>

<p>but for <strong>7z</strong>  and tar.gz format  no idea on how to do the compression </p>

<p>is there any way to make an 7z or tar.gz compressed file !?</p>

<p>specially 7z format</p>
