I'm trying to unzip a file using exec. I have a successful script that zips files, but now I am trying to unzip a file without success. I do not have zlip installed.
command:
exec('/usr/bin/unzip /tmp/filename.zip', $authorize, $ret);
I'm getting
$authorize[0] is set to Archive: /tmp/filename.zip
$authorize[n] are all empty
$ret is set to 50.
I'm really confused. I've set permissions to 777 for the file.
Thoughts, comments?
Thanks