Can anyone tell me how to get php to run an windows exe program. When i have tried i just get the cmd.exe in task manager. I am running iis5 on windows2000, with php4 installed.
Try this :
$cmd "c:\path\to\your\progam.exe"; exec ($cmd);
check if you're using php4 as a cgi module (using php.exe) and not as dll