🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.internet.web
Article #571

Re: How to put my program on a web server ?

#571
From: 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.
Technical Details
Message-ID: <443188e5@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news3.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <44301501@newsgroups.borland.com> <44316302$1@newsgroups.borland.com> <443179c0@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: feeec,2724602c0f7bf454
X-Google-Attributes: gidfeeec,public
X-Google-Language: ENGLISH,ASCII-7-bit
Date: Mon, 03 Apr 2006 22:39:29 +0200
From: Hans Galema <notused@notused.nl>
User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206)
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: borland.public.cppbuilder.internet.web
Subject: Re: How to put my program on a web server ?
References: <44301501@newsgroups.borland.com> <44316302$1@newsgroups.borland.com> <443179c0@newsgroups.borland.com>
In-Reply-To: <443179c0@newsgroups.borland.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 145.98.201.248
Message-ID: <443188e5@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1144096997 145.98.201.248 (3 Apr 2006 13:43:17 -0700)
Lines: 31
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news3.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail