Closed Thread Icon

Topic awaiting preservation: getting POST values via CGI (Page 1 of 1) Pages that link to <a href="https://ozoneasylum.com/backlink?for=12720" title="Pages that link to Topic awaiting preservation: getting POST values via CGI (Page 1 of 1)" rel="nofollow" >Topic awaiting preservation: getting POST values via CGI <span class="small">(Page 1 of 1)</span>\

 
jdauie
Bipolar (III) Inmate

From: Missoula, MT
Insane since: Jan 2003

posted posted 05-08-2003 02:16

This post is referring to languages in general, I guess, because I do not know how to do it in C or C# or Java or VB.NET.

How can I get values in the CGI application that were sent via POST. I already know how to get querystring values, those are easy.It is probably something simple that I am missing (it usually is).

Thanks for any responses (you can explain it using any of the languages I listed at the top).

Josh Morey

[This message has been edited by jdauie (edited 05-08-2003).]

Piper
Paranoid (IV) Inmate

From: California
Insane since: Jun 2000

posted posted 05-08-2003 02:38

Hi Josh,

That's really a language specific question, it's different for each one. I have not worked with any of the languages you mention in a cgi environment so I cant really help you there. You might try googling for the different languages as a CGI.

~Charlie

Petskull
Maniac (V) Mad Scientist

From: 127 Halcyon Road, Marenia, Atlantis
Insane since: Aug 2000

posted posted 05-08-2003 03:20

you know, I've seen some '.exe's on some servers and I've actually wondered about that..

..I imagined it musta been set up something like C:\coolstuff\myapp.exe -name:blah -email:foo@dink.org

DISCLAIMER: I'm talking out of my ass, most probably, this will not work.


Code - CGI - links - DHTML - Javascript - Perl - programming - Magic - http://www.twistedport.com
ICQ: 67751342

jdauie
Bipolar (III) Inmate

From: Missoula, MT
Insane since: Jan 2003

posted posted 05-08-2003 04:19

Thanks for the comments!

Piper: I must be googling for the wrong stuff, because I cannot find the answer. I realize that it is a language specific problem, but I don't know how to do it on any of them, so I was looking for tips in any of them...

Petskull: Just to clarify, I do know how to get Querystring Values (something like this)...
www.website.com/myapp.exe?value1&value2

...but POST data is not sent in the querystring, and the Querystring has a low size limit on the amount of data that it can send.

I will keep looking for the answers, of course, but it is not critical, so don't spend your time looking for the answer unless you want to (although I would appreciate it)

Josh Morey

[This message has been edited by jdauie (edited 05-08-2003).]

Piper
Paranoid (IV) Inmate

From: California
Insane since: Jun 2000

posted posted 05-08-2003 05:18

Take a look at the C/C++ apps on www.hotscript.com : http://www.hotscripts.com/C_and_C++/Scripts_and_Programs/

I'd start by digging though the source on some of those apps and see if that helps. I went through the section on form processors and found a couple of sites on the first page that will let you download the source. I also remember reading about a not so standard C library very similar to CGI.pm for perl. I'll see if I can't find a link for it somewhere.

As for google, I just put in C++ and CGI and that brought up a few links on the subject.

~Charlie

« BackwardsOnwards »

Show Forum Drop Down Menu