Re: Protected ZIP file with password

From: Date: Mon, 18 Feb 2008 22:01:49 +0000
Subject: Re: Protected ZIP file with password
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-269563@lists.php.net to get a copy of this message
I've tried. returned.... Array ( ) 127 On Feb 18, 2008 6:58 PM, Daniel Brown <parasane@gmail.com> wrote: > On Feb 18, 2008 4:55 PM, Petrus Bastos <petrusbastos@gmail.com> 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); } ?> >

« previous php.general (#269563) next »