Here are two commands to execute a program located on the server:
exec("command"); or system("command");
Command could be an executable or a shell command. To invoke the executable, it is best to specify the whole path. For example:
$command = 'c:\\windows\\system32\\notepad.exe'; exec ($command);
This will invoke an instance of notepad.