shell_exec()
to Execute a Command via Shell and Return the Outputshell_exec()
to Execute a Command via Shell and Return the OutputThe shell_exec()
function executes a command via the shell and returns the complete output. This is useful for running shell commands from PHP.