Forms with the GET Method

 

Questionnaire

What's your name?

What's your first name ?

What's your favorite brand ?

Do you like computers ?
Yes
No

<form method="get" action="http://server/cgi-bin/form.cgi">
<H2>Questionnaire</H2>
What's your name? <input name="name"><br>
What's your first name ? <input name="firstname"><br>
What's your favorite brand ?
<select name="brand">
<option selected>Asus
<option>Abit
<option>Msi
<option>Gigabyte
<option>Soltek<br>
Do you like computers ?<br>
<input type="radio" name="choice" value="yes" checked> Yes
<br>
<input type="radio" name="choix" value="no">No
<input type="submit" value="Ok">

<input type="reset" value="Reset">
</form>



This form will send this url to the server:

GET http://server/cgi-bin/form.cgi?name=xxx&firstname=xxx&brand=xxx&choice=xxx