RE: [PHP] Extracting Compressed Files

2003-08-14 Thread Ivo Pletikosic
Hey Matt, Below is a cut down version of how I'm doing it. I lifted most of it right out of the manual examples. It assumes a single entry in each compressed file. function uncompress($filepath, $new_filename, $compression) { if($compression == COMPRESSION_GZIP) { $zp = gzopen( $f

RE: [PHP] Extracting Compressed Files

2003-08-08 Thread Matt Palermo
EMAIL PROTECTED] Sent: Monday, August 04, 2003 11:46 PM To: Matt Palermo Subject: Re: [PHP] Extracting Compressed Files Use exec to execute the command line programs that deal with these archives. Namely tar and gz and bzip2 and zip/unzip. For single files that are compressed you can use PHP to decom

Re: [PHP] Extracting Compressed Files

2003-08-04 Thread Curt Zirzow
* Thus wrote Matt Palermo ([EMAIL PROTECTED]): > Does anyone know of easy ways to be able to extract all > files/folders/subfolders from different types of compressed files (.zip, > .tar.gz, etc.)? If anyone could help me out with this, I would really > appreciate it. man unzip man tar man if