Re: Protected ZIP file with password

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

 



Petrus Bastos wrote:
system("/usr/local/bin/zip -P 1111 t.zip biblioteca.php",$ret_val);

Try a full path ............. here - ^^^^^&^^^^^^^^^^^^^^

that's my code and even zip with full path, return $ret_val = 127;

AFAIK that's the error code for "command not found" which probably means PHP doesn't have execute permissions on the zip binary. There could be lots of reasons for that but you need to ask your sysadmin about it.

-Stut

--
http://stut.net/

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[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