delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/06/15/19:17:09

From: yangsu AT cs DOT iastate DOT edu (yang su)
Subject: getenv("REQUEST_METHOD") returns NULL in a cgi environment
15 Jun 1998 19:17:09 -0700 :
Message-ID: <199806151820.NAA02503.cygnus.gnu-win32@popeye.cs.iastate.edu>
To: gnu-win32 AT cygnus DOT com

I am using ecgs for mingw32, so I compile my test.c like this:
gcc test.c -o test.cgi
then I invoke this cgi through http://some-path-to-test.cgi,
however, I get the NULL value of getenv("REQUEST_METHOD") which
I expect to be either POST or GET, can it be NULL in this context?
what might be a solution for this?

yang
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019