I am having trouble understanding the exec function in PHP. Can someone please explain it to me in simple terms?
I am having trouble understanding the exec function in PHP. Can someone please explain
Share
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.
exec — Executes command cmd in the system’s command interpreter and returns the last line of output. Optional arguments allow the command output and return value to be captured.
string exec(cmd[, array_name][, $return_value]);
string cmd: Command to be executed