Re: 7zip extension available

From: Date: Fri, 04 Jan 2008 20:58:01 +0000
Subject: Re: 7zip extension available
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-266652@lists.php.net to get a copy of this message
On Jan 4, 2008 3:46 PM, ecc <ecc@camya.com> wrote: > > Hi, > i´ve searched a little bit, but found no page talking about an 7zip (.7z) > extension for php. Is there an way to extract data from 7zip archives from > within an php script? You could try exec() or one of the family to do the job: <? exec('p7zip -f file.7z',$ret,$err); // The array $ret contains the stdout response while $err contains any error messages ?> I haven't really used 7-ZIP, but the Unix/Linux port p7zip is probably going to be your best bet from the *nix CLI. -- Daniel P. Brown [Phone Numbers Go Here!] [They're Hidden From View!] If at first you don't succeed, stick to what you know best so that you can make enough money to pay someone else to do it for you.

« previous php.general (#266652) next »