Jump to content

Recommended Posts

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.

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. 

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).

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.

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.

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)

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.