PHP exec() – Execute Commands and Programs

PHP exec() - Execute Commands and Programs

PHP provides the exec() method in order to execute or run commands, programs, or scripts. This exec() method can simply execute external commands in the operating system. For example, the whoami command of Linux can be executed for the current user, and returned username can be used in PHP applications. The exec() Method Syntax The … Read more