PDA

View Full Version : .exe can u on html?


relyt
04-17-2003, 07:45 PM
i think this is the right forum...
anywho....can you run a .exe program on a website? i made a .exe program/game and i want people to be able to play it off my websites

joh6nn
04-17-2003, 07:58 PM
no. you can make it downloadable, but you can't make it run on your site.

pardicity3
04-17-2003, 09:39 PM
There is a lot on just this forum about .exe's and html. I did a search for .exe (http://www.codingforums.com/search.php?s=&action=showresults&searchid=108174&sortby=&sortorder=) and came up with a lot.

Also, Joh6nn know's what he is talking about. Just think of the horrors if you could run .exe's from the web....ahhh!:eek:

Roy Sinclair
04-17-2003, 09:52 PM
Actually it depends on how your program communicates. If your program is outputing html to stdout and receiving data via stdin then it's quite possible to run the program on the server, in fact that's the standard practice for handling CGI programs on a server. Of course you also have to store user state somewhere since your application isn't going to run continuously (it is executed for each request and should terminate when it's sent a response).

Of course if you wrote the program to use DirectX or something like that, what the others have said is 100% true.