|
|
|
#1 |
|
Messages: n/a
Hébergeur: |
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? Thank you for your ! -- View this message in context: http://www.nabble.com/7zip-extension...p14624641.html Sent from the PHP - General mailing list archive at Nabble.com. |
|
|
|
#2 |
|
Messages: n/a
Hébergeur: |
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. |
|
![]() |
| Outils de la discussion | |
|
|