[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Accessing QUERY during a form POST

From: Stephen F. Booth
Subject: RE: Accessing QUERY during a form POST
Date: Wed, 7 Mar 2001 20:23:23 -0600

Try the getPostData() method on class CgiEnvironment.  IE,

#(standard STL & cgicc includes)

int main()
  string post_data;
  Cgicc cgi;

  post_data = cgi.getEnvironment().getPostData();

The string will be of MIME type cgi.getEnvironment()->getContentType().

Hope this helps.  Try reading the info or html documentation, and let me
know where they need fleshing out.

> I am just learning Cgicc and I would like to access the query string
> during a form POST. Can anyone tell me how to do this, or point me in
> the right direction?
> Everything works great during just a plain GET, and I can access the
> form data fine during a POST, but during a POST I cannot get the
> Query data.
> Any help would be greatly appriciated,

reply via email to

[Prev in Thread] Current Thread [Next in Thread]