
PHP Function: Built-in Functions part 9
Program Execution Functions
You can use PHP’s built in program execution functions to use programs residing on your system, such as encryption programs, third-party image manipulation programs, and so forth. For all program execution functions, the PHP user much have permission to execute the given program.
exec()
The exec() function executes an external program. its syntax is
exec(command, [array], [return_var]);
If an array is specified, the output of the exec() function will append to the array. If return_var is specified, it will be assigned a value of the program’s return status.



