Posted: January 3rd, 2012, 10:00am MST
PHP's Program Execution Functions This section introduces several functions (in addition to the backticks execution operator) used to execute system-level programs via a PHP script. Although at first glance they all appear to be operationally identical, each offers its own syntactical nuances. exec() string exec (string command [, array output [, int return_var]]) The exec() function is best-suited for executing an operating system-level application (designated by command) intended to continue executing in the server background. Although the last line of output will be returned, chances ar...