SyntaxFix
Write A Post
Hire A Developer
Questions
shell_exec - Execute command via shell and return the complete output as a string
shell_exec
exec - Execute an external program.
exec
The difference is that with shell_exec you get output as a return value.