 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
RS Guest
|
Posted: Sun Apr 02, 2006 7:03 pm Post subject: How to put my program on a web server ? |
|
|
Hi,
How can I put my program.exe (c++ program of course), on a web server,
to execute him in a html page or php page ?
(like .swf files are executed with macromedia flash)
It is possible ?
Thanks  |
|
| Back to top |
|
 |
Remy Lebeau (TeamB) Guest
|
Posted: Mon Apr 03, 2006 7:03 pm Post subject: Re: How to put my program on a web server ? |
|
|
"RS" <rs.reloaded (AT) wanadoo (DOT) fr> wrote in message
news:44301501 (AT) newsgroups (DOT) borland.com...
| Quote: | How can I put my program.exe (c++ program of course), on
a web server, to execute him in a html page or php page ?
|
Do you mean to have the .exe file actually run on the server directly, like
a server-side script? Or to have the .exe file be downloaded by the browser
and run on the client machine instead?
| Quote: | like .swf files are executed with macromedia flash
|
A .swf file is downloaded onto the client machine and then the browser loads
the appropriate plugin (which has to be installed first) that is needed to
play the file.
Gambit |
|
| Back to top |
|
 |
RS Guest
|
Posted: Mon Apr 03, 2006 9:03 pm Post subject: Re: How to put my program on a web server ? |
|
|
| Quote: | Do you mean to have the .exe file actually run on the server directly,
like
a server-side script? Or to have the .exe file be downloaded by the
browser
and run on the client machine instead?
|
I mean to have the .exe file on the server directly, like a script.
| Quote: | A .swf file is downloaded onto the client machine and then the browser
loads
the appropriate plugin (which has to be installed first) that is needed to
play the file.
|
I want not to download any file, but I want to execute the .exe like a
script into the browser (or by another way ?).
Thanks  |
|
| Back to top |
|
 |
Hans Galema Guest
|
Posted: Mon Apr 03, 2006 10:03 pm Post subject: Re: How to put my program on a web server ? |
|
|
RS wrote:
| Quote: | I mean to have the .exe file on the server directly, like a script.
|
The way you tell that is impossible and contradicting.
If you have a cgi application then the webserver has to execute your
application on the server computer. A php-script for example is executed
by php.exe which has to be started by the webserver also.
For your cgi-application cgi.exe you have to put it in the cgi-bin
of your websserver and then call it with:
http://www.mywebsite.com/cgi-bin/cgi.exe
Your exe is executed on the servercomputer, it produces a htmlpage
that is forwarded to the browser, which the browser displays.
| Quote: | I want not to download any file, but I want to execute the .exe like a
script into the browser (or by another way ?).
|
Only javascripts will be executed by a browser. But then the browser will
have downloaded the script before.
All things you want to execute in a browser will have to be downloaded by the
browser first.
Do you mean an active-form ?
Please tell what your exe should do or already does.
Hans. |
|
| Back to top |
|
 |
Remy Lebeau (TeamB) Guest
|
Posted: Mon Apr 03, 2006 11:03 pm Post subject: Re: How to put my program on a web server ? |
|
|
"RS" <rs.reloaded (AT) wanadoo (DOT) fr> wrote in message
news:443179c0 (AT) newsgroups (DOT) borland.com...
| Quote: | I mean to have the .exe file on the server directly, like a script.
|
Then you need to talk to your specific web hosting service about that.
Different providers have different requirements, payment plans, etc.
regarding the use of custom executable files on their servers. Some don't
allow it at all. Some do but restrict its use. Some require the
executable in .dll format. Some require it in .exe format. Some require it
in .cgi format.
Gambit |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|