@rodger.botsford
Чтобы использовать приложение на C в PHP, вам необходимо выполнить несколько шагов:
1 2 |
$output = shell_exec('/path/to/your/executable'); echo $output; |
1 2 3 4 |
$arg1 = 'hello'; $arg2 = 'world'; exec("/path/to/your/executable $arg1 $arg2", $output); print_r($output); |