Shiny_Charizard Posted August 6, 2008 Share Posted August 6, 2008 I was wondering if there is a way to execute an ".exe" file with php. I there is a way can anyone explain to me how to do it? Link to comment https://forums.phpfreaks.com/topic/118389-solved-executeing-a-exe-file-with-php/ Share on other sites More sharing options...
BioBob Posted August 6, 2008 Share Posted August 6, 2008 Dont lol exec("cmd.exe"); or whatever executable filename... Link to comment https://forums.phpfreaks.com/topic/118389-solved-executeing-a-exe-file-with-php/#findComment-609262 Share on other sites More sharing options...
discomatt Posted August 6, 2008 Share Posted August 6, 2008 This will ONLY work on windows-based servers. Link to comment https://forums.phpfreaks.com/topic/118389-solved-executeing-a-exe-file-with-php/#findComment-609302 Share on other sites More sharing options...
Shiny_Charizard Posted August 6, 2008 Author Share Posted August 6, 2008 So does that mean it won't work in mine, because my server is Linux. Link to comment https://forums.phpfreaks.com/topic/118389-solved-executeing-a-exe-file-with-php/#findComment-609670 Share on other sites More sharing options...
trq Posted August 6, 2008 Share Posted August 6, 2008 .exe files are windows executables that will not run natively on Linux. So, the answer to your question is yes. Link to comment https://forums.phpfreaks.com/topic/118389-solved-executeing-a-exe-file-with-php/#findComment-609671 Share on other sites More sharing options...
Shiny_Charizard Posted August 6, 2008 Author Share Posted August 6, 2008 Ok, well thanks everyone. Link to comment https://forums.phpfreaks.com/topic/118389-solved-executeing-a-exe-file-with-php/#findComment-609711 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.