Do you happen to know where I can find some examples or sample code for
these?  The exec function on php.net didn't go into much detail about
extraction from compressed files.  Anyone know of any good references?

Thanks,

Matt

-----Original Message-----
From: Jason Sheets [mailto:[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 decompress bzip2

and .gz files if you have compiled PHP --with-zlib and --with-bz2, 
otherwise you must use the command line tools.

Jason

Matt Palermo wrote:

>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.  
> 
>Thanks,
> 
>Matt
>
>  
>




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to