Forum Moderators: coopster
I want to call an external console program and get its output, that's what I did:
execute.php :
<?php
$output = shell_exec('F:/Apache2/htdocs/misc/excecute.exe 8 6');
echo "<pre>$output</pre>";
?>
execute.exe :
is a console program which multiple argv[1] with argv[2] and printf the result, I have tested execute.exe in Dos mode - works perfectly, but when I run the php script, I get no output.
What's wrong?