forms and passing variable to my program
Posted on 2000-04-22
Hi. I am trying to develop a CGI application in C++. The info on CGI in C++ that I have found is very limited. So I am basically trying to understand it from CGI with Perl. I got a few questions regarding this form I have made and the program I am developing.
tHis is the form:
<meta http-equiv="content-type" content="text/html;charset=iso-8859-1">
<meta name="generator" content="Microsoft FrontPage 4.0">
<input src="(Empty Reference!)" type="image">
<p><input type="text" name="textfieldName" size="24"> <input type="submit" name="submitButtonName"></p>
<p><input type="checkbox" value="checkboxValue" name="checkboxName">By Name</p>
<p><input type="checkbox" value="checkboxValue" name="checkboxName">By Location
1. How do I use that form with my C++ program?
2. How in my program I would receive the data entered in the form. For example, if the person enters United States, how do I passed this value to my program?