Article View: borland.public.cppbuilder.internet.web
Article #1546Re: Can you POST from a browser on a PC to a server app on the same PC ?
From: Remy Lebeau (TeamB)
Date: Wed, 08 Sep 2004 17:34
Date: Wed, 08 Sep 2004 17:34
29 lines
2075 bytes
2075 bytes
"Mark Jacobs" <markj atty critical dotty co dotty uk> wrote in message news:413f3653$1@newsgroups.borland.com... > Can you POST from a browser on a PC to a > server app on the same PC ? Yes. POST vs. GET is nothing more then how the data is formatted and read when transmitted, but it is still just a single socket connection, there is nothing overly special about it. > Does loopback IP addresses come into this? Of course. But it has nothing to do with GET vs. POST. The loopback is just a means of connecting back to the same machine, you should be using it in either case. > I can get as far as the CGI program starting up, but there is no > environment variables or STDIN set up to allow it run normally. Then please show your actual code because you are not setting it up properly. CGI programs are just executables (usually console apps) that web servers spawn when needed. They read from and write to the normal STDIN/STDOUT that all applications have. The only difference is that the web servers can control what the STDIN/STDOUT actually are. It sounds like you are not doing that part correctly, if at all. Gambit
Technical Details
Message-ID:
<413f4261$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!news.zanker.org!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!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 From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com> Newsgroups: borland.public.cppbuilder.internet.web References: <413f3653$1@newsgroups.borland.com> Subject: Re: Can you POST from a browser on a PC to a server app on the same PC ? Date: Wed, 8 Sep 2004 10:34:39 -0700 Lines: 31 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 NNTP-Posting-Host: 68.69.17.41 Message-ID: <413f4261$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1094664801 68.69.17.41 (8 Sep 2004 10:33:21 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!news.zanker.org!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail