Re: Protected ZIP file with password

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

 



Results the same thing.

On Feb 18, 2008 6:59 PM, Wolf <lonewolf@xxxxxxxxx> wrote:

>
> ---- 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;
> >
> > On Feb 18, 2008 6:43 PM, Wolf <lonewolf@xxxxxxxxx> wrote:
> >
> > >
> > > ---- Petrus Bastos <petrusbastos@xxxxxxxxx> wrote:
> > > > Wolf,
> > > >
> > > >     I'm sure actually working from the command line.
> > > >
> > > > > /usr/local/bin/zip -P 1111 t.zip biblioteca.php
> > > >   adding: biblioteca.php (deflated 73%)
> > > > >
> > > >
> > > >
> > > > On Feb 18, 2008 6:37 PM, Wolf <lonewolf@xxxxxxxxx> wrote:
> > > >
> > > > >
> > > > > ---- Petrus Bastos <petrusbastos@xxxxxxxxx> wrote:
> > > > > >     Actually, I don't know anything about FreeBSD. I never used
> this
> > > > > system.
> > > > > > But, here my zip command works fine at command line, why doesn't
> > > works
> > > > > with
> > > > > > PHP?
> > > > > >
> > > > > >
> > > > > <! -- SNIP -->
> > > > >
> > > > > Have you talked with your server admins about the use of zip?
>  Sounds
> > > like
> > > > > you have an environment set up by a blind monkey.
> > > > >
> > > > > Are you sure the command is actually working from the command
> line?
> > > > > What is the command and output?
> > > > >
> > > > > Wolf
> > > > >
> > >
> > > What does your script command look like?
> > >
>
> http://www.google.com/search?q=php%3A+exec+zip+error+127&ie=utf-8&oe=utf-8&aq=t&rls=com.ubuntu:en-US:official&client=firefox-a
>
> Try using Passthru
>

[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