php exec vs shell_exec

exec — Execute an external program

system — Execute an external program and display the output

shell_exec — Execute command via shell and return the complete output as a string

Leave a Reply

Your email address will not be published. Required fields are marked *