rendered paste body#include <stdio.h>
int main()
{
printf("Content-type: text/html\n\n");
printf("<HTML>\n");
printf("<HEAD><TITLE>C/C++ CGI Hello World!</TITLE></HEAD>\n");
printf("<BODY bgColor=\"#6699cc\">\n");
printf("<P>\n");
printf("<TABLE CELLSPACING=0 CELLPADDING=0>\n");
printf("<tr><td CLASS='optBoxItem'><form method='post' action='test.cgi'></td><td><INPUT TYPE='HIDDEN' NAME='cmd_typ' VALUE='blah'></td></tr>\n");
printf("%s", getenv("REMOTE_USER"));
printf("<td CLASS='optBoxItem'><INPUT TYPE='submit' NAME='btnSubmit' VALUE='Commit'> <INPUT TYPE='reset' VALUE='Reset'></FORM></td></tr>\n");
printf("</table>\n");
printf("</P>\n");
printf("</BODY>\n");
printf("</HTML>\n");
return 0;
}