On Jan 4, 2008 3:46 PM, ecc <[EMAIL PROTECTED]> 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.

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

Reply via email to