How to run exe file on Linux
Posted: Mon Oct 27, 2008 9:11 pm
hi,
i am writing php on Linux. i have a program called ReadParam.exe. i need to run this program to read values (param) from thumbdrive.
i've tried smthg like this, but it's not working:-
$cmd = "ReadParam.exe";
$output = exec($cmd);
echo $output;
is the command correct? how the check the output? pls help.
i am writing php on Linux. i have a program called ReadParam.exe. i need to run this program to read values (param) from thumbdrive.
i've tried smthg like this, but it's not working:-
$cmd = "ReadParam.exe";
$output = exec($cmd);
echo $output;
is the command correct? how the check the output? pls help.