Re: Protected ZIP file with password
| From: | Shawn McKenzie | Date: | Mon, 18 Feb 2008 22:16:15 +0000 |
| Subject: | Re: Protected ZIP file with password | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-269568@lists.php.net to get a copy of this message | ||
In your php code you'll need the full path to biblioteca.php and to
t.zip and the web user will need write permissions to the dir where you
create t.zip.
-Shawn
Petrus Bastos 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@nc.rr.com
> <mailto:lonewolf@nc.rr.com>> wrote:
>
>
> ---- Petrus Bastos <petrusbastos@gmail.com
> <mailto:petrusbastos@gmail.com>> 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
>
>