How do you place a call to a command line executable within a PHP script?

Answer:

Answer

Use the "system" function:

system("Command.exe");

(See: php.net/system)

First answer by Svemir. Last edit by Svemir. Contributor trust: 83 [recommend contributor recommended]. Question popularity: 14 [recommend question].