DarrenReeder Posted April 9, 2010 Share Posted April 9, 2010 hello, i am trying to make a quick control panel for my server for my game. the server works by running a .exe file. i want to be able to access this when im out and about so i want to make a control panel and put it online. What programming language do i need to be able to run a .exe file from the web page. Also if you know how to..how would i do it using that language? -thanks, Darren. Quote Link to comment https://forums.phpfreaks.com/topic/198070-what-progamming-language-do-i-need-to-run-a-exe-file/ Share on other sites More sharing options...
andrewgauger Posted April 9, 2010 Share Posted April 9, 2010 I've seen "exe" and "dll" files-- both are ASP.net programs, both hosted on IIS. Look into msdn.microsoft.com Quote Link to comment https://forums.phpfreaks.com/topic/198070-what-progamming-language-do-i-need-to-run-a-exe-file/#findComment-1039279 Share on other sites More sharing options...
trq Posted April 9, 2010 Share Posted April 9, 2010 exe files can be executed by php. Quote Link to comment https://forums.phpfreaks.com/topic/198070-what-progamming-language-do-i-need-to-run-a-exe-file/#findComment-1039281 Share on other sites More sharing options...
andrewgauger Posted April 9, 2010 Share Posted April 9, 2010 Yeah, actually any extension can be defined as php, or perl, or bash, or any other scripting language by the interpreter (wrong word usage, I just cant seem to keep the terms straight) but a compiled exe is asp. Quote Link to comment https://forums.phpfreaks.com/topic/198070-what-progamming-language-do-i-need-to-run-a-exe-file/#findComment-1039292 Share on other sites More sharing options...
trq Posted April 9, 2010 Share Posted April 9, 2010 but a compiled exe is asp. Where exactly do you get that idea from? Quote Link to comment https://forums.phpfreaks.com/topic/198070-what-progamming-language-do-i-need-to-run-a-exe-file/#findComment-1039300 Share on other sites More sharing options...
andrewgauger Posted April 9, 2010 Share Posted April 9, 2010 Ooops I should remember not to post assumptions. I have seen .exe files hosted using ASP.NET, I'm sure there are other possibilities now. Quote Link to comment https://forums.phpfreaks.com/topic/198070-what-progamming-language-do-i-need-to-run-a-exe-file/#findComment-1039303 Share on other sites More sharing options...
trq Posted April 9, 2010 Share Posted April 9, 2010 I have seen .exe files hosted using ASP.NET, I'm sure there are other possibilities now. I'm still not really sure what your talking about. The OP want's to know what languages can execute exe files, not what language exe files are written in (which could be any number of languages). Quote Link to comment https://forums.phpfreaks.com/topic/198070-what-progamming-language-do-i-need-to-run-a-exe-file/#findComment-1039315 Share on other sites More sharing options...
andrewgauger Posted April 9, 2010 Share Posted April 9, 2010 So? http://www.php.net/manual/en/function.exec.php or <?php `cmd.exe`; ?> Is what you are looking for. I though they wanted to do: www.mydomain.com/scripts/myapp.exe Which I have seen done in IIS. Quote Link to comment https://forums.phpfreaks.com/topic/198070-what-progamming-language-do-i-need-to-run-a-exe-file/#findComment-1039318 Share on other sites More sharing options...
oni-kun Posted April 16, 2010 Share Posted April 16, 2010 So? http://www.php.net/manual/en/function.exec.php or <?php `cmd.exe`; ?> Is what you are looking for. I though they wanted to do: www.mydomain.com/scripts/myapp.exe Which I have seen done in IIS. It's simply a CGI gateway application, I'm sure Microsoft's KB would be using that. Dynamic link libraries and statically linked executables can be run with parameters. Quote Link to comment https://forums.phpfreaks.com/topic/198070-what-progamming-language-do-i-need-to-run-a-exe-file/#findComment-1042848 Share on other sites More sharing options...
JonnoTheDev Posted April 16, 2010 Share Posted April 16, 2010 www.mydomain.com/scripts/myapp.exe If you saw a link like that, you would have to be mad to click on it for obvious reasons. Quote Link to comment https://forums.phpfreaks.com/topic/198070-what-progamming-language-do-i-need-to-run-a-exe-file/#findComment-1042941 Share on other sites More sharing options...
andrewgauger Posted April 16, 2010 Share Posted April 16, 2010 Its up to the server how to handle all file extensions. It doesn't necessarily have to download an exe. With CGI it can execute it remotely, just like a php file does. (although an exe is compiled and php interpreted) Quote Link to comment https://forums.phpfreaks.com/topic/198070-what-progamming-language-do-i-need-to-run-a-exe-file/#findComment-1043120 Share on other sites More sharing options...
JonnoTheDev Posted April 16, 2010 Share Posted April 16, 2010 Of course but how are you going to know that Quote Link to comment https://forums.phpfreaks.com/topic/198070-what-progamming-language-do-i-need-to-run-a-exe-file/#findComment-1043129 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.