🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.cppbuilder.internet.web
5 messages
5 total messages Started by RS Sun, 02 Apr 2006 18:21
How to put my program on a web server ?
#565
Author: RS
Date: Sun, 02 Apr 2006 18:21
10 lines
1084 bytes
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 ;) 
Re: How to put my program on a web server ?
#568
Author: Remy Lebeau (TeamB)
Date: Mon, 03 Apr 2006 17:54
19 lines
1604 bytes
"RS" <rs.reloaded@wanadoo.fr> wrote in message
news:44301501@newsgroups.borland.com...

> 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?

> 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
Re: How to put my program on a web server ?
#570
Author: RS
Date: Mon, 03 Apr 2006 19:43
20 lines
1571 bytes

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


> 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 ;)
Re: How to put my program on a web server ?
#571
Author: Hans Galema
Date: Mon, 03 Apr 2006 20:39
31 lines
2096 bytes
RS wrote:

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

> 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.
Re: How to put my program on a web server ?
#572
Author: Remy Lebeau (TeamB)
Date: Mon, 03 Apr 2006 22:41
15 lines
1452 bytes
"RS" <rs.reloaded@wanadoo.fr> wrote in message
news:443179c0@newsgroups.borland.com...

> 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
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads