SyntaxFix
Write A Post
Hire A Developer
Questions
To clarify which command to use based on the situation
exec() - Execute an external program
exec()
system() - Execute an external program and display the output
system()
passthru() - Execute an external program and display raw output
passthru()
Source: http://php.net/manual/en/function.exec.php