I am trying to retrieve POST data from html form using program written in C.
At the moment I am using:
char *formdata = getenv(\"QUERY_STRING\"); if(
Why reinvent that wheel? Just use a library: http://libcgi.sourceforge.net/