Hey folks,
I just wanna say thanks for whole help you've had give to me. I did
solve my problem with clues you give to me. Now, I have a server exclusively
to my project and I enabled the system command and zip command works fine.
Thanks again,
Petrus Bastos.
Feb 18, 2008 7:16 PM, Shawn McKenzie <[EMAIL PROTECTED]> wrote:
> 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:
>
Results the same thing.
On Feb 18, 2008 6:59 PM, Wolf <[EMAIL PROTECTED]> wrote:
>
> Petrus Bastos <[EMAIL PROTECTED]> wrote:
> > system("/usr/local/bin/zip -P t.zip biblioteca.php",$ret_val);
> >
> > that's my code and even zip with
I've tried. returned
Array
(
)
127
On Feb 18, 2008 6:58 PM, Daniel Brown <[EMAIL PROTECTED]> wrote:
> On Feb 18, 2008 4:55 PM, Petrus Bastos <[EMAIL PROTECTED]> wrote:
> > system("/usr/local/bin/zip -P t.zip biblioteca.php",$ret_val);
> >
system("/usr/local/bin/zip -P 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 <[EMAIL PROTECTED]> wrote:
>
> Petrus Bastos <[EMAIL PROTECTED]> wrote:
> > Wolf,
>
Wolf,
I'm sure actually working from the command line.
> /usr/local/bin/zip -P t.zip biblioteca.php
adding: biblioteca.php (deflated 73%)
>
On Feb 18, 2008 6:37 PM, Wolf <[EMAIL PROTECTED]> wrote:
>
> Petrus Bastos <[EMAIL PROTECTED]> 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?
On Feb 18, 2008 6:28 PM, Shawn McKenzie <[EMAIL PROTECTED]> wrote:
> Greg Donald wrote:
> > On 2/18/08, Shawn McKenzie <[EMAIL PROTECTED]>
Error: FTP Unable to get
ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-6.1-release/Latest/zip.tbz:
File unavailable (e.g., file not found, no access)
pkg_add: unable to fetch '
ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-6.1-release/Latest/zip.tbz'
by URL
:(
On Feb 18, 2008 6:17
Ok. I've tried the command again and returned /usr/local/bin/zip... but
return the same error...
On Feb 18, 2008 6:13 PM, Shawn McKenzie <[EMAIL PROTECTED]> wrote:
> Petrus Bastos wrote:
> > Unfortunately, I don't have access to root user here. It was a miracle
> get
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 <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]> wrote:
> Petrus Bastos wrote:
> > I'm testing on FreeBSD.
I'd look at parameters and my command is ok.
On Feb 18, 2008 5:51 PM, Nick Stinemates <[EMAIL PROTECTED]> 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'
Yes.
On Feb 18, 2008 5:50 PM, Jay Blanchard <[EMAIL PROTECTED]> wrote:
> [snip]
> I'm testing on FreeBSD. I can use any command through system(), but the
> zip
> command doesn't works! I don't know why.
> [/snip]
>
> Have you tried the command from the command line without PHP to make
> sure it w
I'm testing on FreeBSD. I can use any command through system(), but the zip
command doesn't works! I don't know why.
On Feb 18, 2008 4:06 PM, Nick Stinemates <[EMAIL PROTECTED]> wrote:
> Petrus Bastos wrote:
> > Hey folks,
> >
> >I got access to e
Hey folks,
I got access to exec method for test! But, it's not working... :( the
function returns 127 and don't create the zip file, I've tested on Linux
command tool and works! Do you have any idea why didn't work?
Thanks again and sorry for the inconvenience,
Petru
Richard,
Unfortunately, I can't get out of the zip password rut because the
destination system read only this file format. I can't change the
destination system.
Thanks,
Petrus.
On Feb 18, 2008 2:11 PM, Richard Lynch <[EMAIL PROTECTED]> wrote:
> On Mon, February 18, 2
Daniel,
But I can install PEAR/PECL modules, but I didn't see any module that do
what I want. Do you know any module that create password protected zip
files?
Thanks again,
Petrus Bastos.
On Feb 18, 2008 1:29 PM, Daniel Brown <[EMAIL PROTECTED]> wrote:
> On Feb 18, 2008 11
Wolf,
I thank your help! I have all zip methods available, but don't have any
method that generate password protected zip file.
Thanks anyway,
Petrus Bastos.
On Feb 18, 2008 1:10 PM, Wolf <[EMAIL PROTECTED]> wrote:
>
> ---- Petrus Bastos <[EMAIL PROTECTED]
Bastien,
I thank your help, but I think that your idea doesn't resolve my problem
because I need generate that file online when user clicks on a link.The file
must be obtained at the time he clicks.
Thanks anyway,
Petrus Bastos.
On Feb 18, 2008 12:18 PM, Bastien Koert <[EMAIL P
that I need to generate the
file already protected.
PS: Sorry my bad english. I'm Brazilian and I'm not fluent english.
Thanks one more time,
Petrus Bastos.
On Feb 18, 2008 12:26 AM, Nick Stinemates <[EMAIL PROTECTED]> wrote:
> Petrus Bastos wrote:
> > Chris,
> >
Chris,
Thanks for your help, but I think that package can't make what I want.
But , I appreciate your help anyway and if you have any other ideas, please
let me know! :)
Thanks,
Petrus Bastos.
On Feb 17, 2008 10:38 PM, Chris <[EMAIL PROTECTED]> wrote:
> Petru
Unfortunately I don't have access to this family of methods because security
policy. Lefting this way out, I didn't find anyway on how to do that. If you
have any idea or know any module can do that, I'll appreciate to know too!
Thanks in advance,
Petrus Bastos.
On Feb 17, 2008
Nick,
I thank you help! But unfortunalety I didn't find way to do this. I'll
continue trying. If you have any other idea, I'll appreciate to hear!
Best regards,
Petrus Bastos.
On Feb 17, 2008 4:57 PM, Nick Stinemates <[EMAIL PROTECTED]> wrote:
> Petrus B
Hi Nick,
Sorry, but I forgot to tell you that I can't use this exec neither
system commands because they are disabled for security precautions. So, Do
you have any other ideas on how can I do that?
Thanks for your help,
Petrus Bastos.
On Feb 17, 2008 5:15 AM, Nick Stinemates &l
Hey folks,
Do you know how can I create a protected zip file with password? Is
there anyway? I've search on the internet, but without success.
Thank's in advance,
Petrus Bastos.
25 matches
Mail list logo