when php running on windows machine, can execute .exe
Run commands using Windows WScript object
SendKeys & Registry operations implemented
https://www.phpclasses.org/package/10248-PHP-Run-commands-using-Windows-WScript-object.html
JavaScript:
//http://stackoverflow.com/a/12251656/1320686
$answer = exec("abc.exe");
echo $answer."</br>";
Run commands using Windows WScript object
SendKeys & Registry operations implemented
https://www.phpclasses.org/package/10248-PHP-Run-commands-using-Windows-WScript-object.html