I want to run a c++ code in php script. It takes 6 runtime arguments. I am trying with:
exec(\"./controller.exe\",{\"125\", \"70\", \"127\", \"220\" ,\"0
You can use this sample code:
It is working very good for me. Place both controller.exe and xx.php in same folder.
controller.exe
xx.php