I am trying to get mail data from html form using program written in C < P> Currently I'm using:
char * formdata = getenv ("QUERY_STRING"); It seems that the form is fine with the "GET" method but not with the "POST" method. How do I get post data after double click?
The post header request header has been added to the CGI-Bine environment, you read it from STDIN.
Warning that at the end of the server you do not have to send an eoof letter (or some expiry indicator) to read any more than CONTENT_LENGTH bytes of post data.
Comments
Post a Comment