can any one please let me know, why i could not get result for the php function
exec('unzip gallery.zip',$return);
print_r($return);
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Did you check the return value from unzip? Error messages are not given on standard output stream, so the array will be empty if something fails.
Does the unzip work as expected? It might ask for overwriting etc. if the files already exist and stop the workflow. This output will not be captured in the result.