Re: Protected ZIP file with password

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Feb 18, 2008 4:55 PM, Petrus Bastos <petrusbastos@xxxxxxxxx> wrote:
> system("/usr/local/bin/zip -P 1111 t.zip biblioteca.php",$ret_val);
>
> that's my code and even zip with full path, return $ret_val = 127;

    Try this instead:

<?
exec('/usr/local/bin/zip -P 1111 t.zip biblioteca.php',$ret,$err);

echo "<pre />\n";
print_r($ret);
echo "</pre>\n";

echo "<pre />\n";
print_r($err);
echo "</pre>\n";
?>

-- 
</Dan>

Daniel P. Brown
Senior Unix Geek
<? while(1) { $me = $mind--; sleep(86400); } ?>

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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux