BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

How to put my program on a web server ?

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (Internet Web)
View previous topic :: View next topic  
Author Message
RS
Guest





PostPosted: Sun Apr 02, 2006 7:03 pm    Post subject: How to put my program on a web server ? Reply with quote



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 Wink
Back to top
Remy Lebeau (TeamB)
Guest





PostPosted: Mon Apr 03, 2006 7:03 pm    Post subject: Re: How to put my program on a web server ? Reply with quote



"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





PostPosted: Mon Apr 03, 2006 9:03 pm    Post subject: Re: How to put my program on a web server ? Reply with quote



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 Wink
Back to top
Hans Galema
Guest





PostPosted: Mon Apr 03, 2006 10:03 pm    Post subject: Re: How to put my program on a web server ? Reply with quote

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





PostPosted: Mon Apr 03, 2006 11:03 pm    Post subject: Re: How to put my program on a web server ? Reply with quote

"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
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (Internet Web) All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.