Re: Protected ZIP file with password
| From: | Shawn McKenzie | Date: | Mon, 18 Feb 2008 21:13:21 +0000 |
| Subject: | Re: Protected ZIP file with password | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-269545@lists.php.net to get a copy of this message | ||
Petrus Bastos wrote:
> Unfortunately, I don't have access to root user here. It was a miracle get
> access to system command. I have to resolve this problem without root user.
> :(
>
> On Feb 18, 2008 6:08 PM, Shawn McKenzie <nospam@mckenzies.net> wrote:
>
>> Shawn McKenzie wrote:
>>> Petrus Bastos wrote:
>>>> zip program is installed. I'd type whereis and returned
>>>> /usr/ports/archivers/zip. I've change my zip command and put th whole
>> path.
>>>> Now return error 126. :(
>>>>
>>>> On Feb 18, 2008 5:51 PM, Stut <stuttle@gmail.com> wrote:
>>>>
>>>>> Petrus Bastos wrote:
>>>>>> I'm testing on FreeBSD. I can use any command through system(), but
>> the
>>>>> zip
>>>>>> command doesn't works! I don't know why.
>>>>> Is zip installed? AFAIK it's not by default.
>>>>>
>>>>> Do a system('whereis zip'); to see.
>>>>>
>>>>> -Stut
>>>>>
>>>>> --
>>>>> http://stut.net/
>>>>>
>>> Umm, it's been a while for me on BSD, but isn't
>>> '/usr/ports/archivers/zip' a directory holding sources to build zip?
>>>
>>> -Shawn
>> Maybe as root:
>>
>> cd /usr/ports/archivers/zip
>> make install clean zip
>>
>> -Shawn
>>
>> --
>> PHP General Mailing List (http://www.php.net/)
>> To unsubscribe, visit: http://www.php.net/unsub.php
>>
>>
>
Well, have someone install zip. You won't have any luck trying to
execute that directory.
-Shawn