Hi,
I can't quite figure this one out. I'm trying to open and read a password protected zip file.
This:
system("'which unzip' -P Password pathToZipFile -d c:/",$ret_val);
Gives a "1" in return, but except for that it doesn't do much.
First of all where is unzip installed? How do I find it on my system? (I'm running apache 2 + win2k +php5.2), where do I find the manual?
Secondly, if there is no answer to the previous asked question, where do I find the manual for unzip? (The closest thing I found is this: http://scitsc.wlv.ac.uk/cgi-bin/mansec?1+unzip but seriously...)
Found some stuff...
I seem to have found the "manual"
http://www.info-zip.org/
Also, there are around 20+ posts on PHPB that kind of revolves this issue, but all of them seem point to the room where those that care are.
Running unzip with exec();
http://phpbuilder.com/board/showthread.php?t=10191710&highlight=unzip
But did the unzip work?
http://phpbuilder.com/board/showthread.php?t=10146969&highlight=unzip
untar(unzip) by PHP
http://phpbuilder.com/board/showthread.php?t=10304610&highlight=unzip
Unzip with exec not working
http://phpbuilder.com/board/showthread.php?t=10289547&highlight=unzip
help unzipping
http://phpbuilder.com/board/showthread.php?t=10257507&highlight=unziphttp://phpbuilder.com/board/showthread.php?t=10257507&highlight=unzip