Article View: borland.public.cppbuilder.internet.web
Article #1547Re: Can you POST from a browser on a PC to a server app on the same PC ?
From: Hans Galema
Date: Wed, 08 Sep 2004 18:06
Date: Wed, 08 Sep 2004 18:06
31 lines
2086 bytes
2086 bytes
Mark Jacobs wrote: > Can you POST from a browser on a PC to a server app on the same PC ? If the server app is a webserver or a dedicated webserver then yes. Otherwise no. Where the webserver runs is not important. It can be on any machine that is reachable. > How do you do this? I assume you write your CGI program the same way (or must > you use a TWebApplication to do this?). If you have a cgi exectable then that should be started by the webserver. The webserver will forward the POST info to your cgi app. You can also build a dedicated webserver: a webserver that handles the POST info itself. > Does loopback IP addresses come into > this? I can get as far as the CGI program starting up, Are you starting the cgi yourself ? That will not do. > but there is no > environment variables or STDIN set up to allow it run normally. How does one > go about a "stand-alone FORM POST"? What do you mean with a "stand-alone FORM POST"? Do you have in mind an exe that gets the POST info from the browser ? That would be a (dedicated) webserver then. Hans.
Technical Details
Message-ID:
<413f496f$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news2.google.com!proxad.net!203.109.252.33.MISMATCH!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<413f3653$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: feeec,9601ae202ca79e48 X-Google-Attributes: gidfeeec,public X-Google-Language: ENGLISH,ASCII-7-bit Date: Wed, 08 Sep 2004 20:06:20 +0200 From: Hans Galema <dontusethis@dontusethis.nl> User-Agent: Mozilla Thunderbird 0.7 (Windows/20040616) X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: borland.public.cppbuilder.internet.web Subject: Re: Can you POST from a browser on a PC to a server app on the same PC ? References: <413f3653$1@newsgroups.borland.com> In-Reply-To: <413f3653$1@newsgroups.borland.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 129.125.201.248 Message-ID: <413f496f$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1094666607 129.125.201.248 (8 Sep 2004 11:03:27 -0700) Lines: 31 Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news2.google.com!proxad.net!203.109.252.33.MISMATCH!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail