September 10th, 2010, 10:54 PM
Very Odd UnZipping Issue
I'm having an issue in php. I have a zip file that is uploaded to the server. I need to unzip the file and then play with it's contents.
If I manually ssh onto the server via www-data (the same user account as apache runs in), I can type
# unzip -u base.zip -d /full/dest/path
And all of the zip files contents are decompressed. BUT if I have my php code run
exec('unzip -u base.zip -d /full/dest/path');
some of the files from the zip file are unzipped but others are outright missing from the destination directory. The code continues to process after the exec() statement and there are no errors in the apache log files.
ANY HELP would greatly be appreciated.
A mind full of questions has no room for answers
By phishphreek in forum General Computer Discussions
Last Post: May 30th, 2006, 06:04 PM
By hatebreed2000 in forum Microsoft Security Discussions
Last Post: October 4th, 2004, 11:13 PM
By AngelicKnight in forum Newbie Security Questions
Last Post: January 20th, 2004, 10:43 PM
By Noble Hamlet in forum AntiOnline's General Chit Chat
Last Post: March 17th, 2002, 09:38 AM