PHP on windows can call an exe

Costas

Administrator
Staff member
when php running on windows machine, can execute .exe

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
 
Top