J
John Smith
I have a neophyte question regarding what really gets sent out once I
click a submit button in a form. For example,
(http://www.webcom.com/~webcom/html/tutor/forms/start.shtml)
< FORM METHOD=POST
ACTION="http://www.webcom.com/cgi-bin/form" >
Enter your name:
< INPUT NAME=your_name >
< INPUT TYPE=submit VALUE="Test this form" >
< /FORM >
Suppose I enter "John" into the name field and click on the button,
what exactly is the text that gets sent back to the server? I tried
"http://www.webcom.com/cgi-bin/form?John", but the server returns an
error message. I'd like to the correct syntax for this.
Also, in the case where a form contains multiple text fields, radio
buttons, drop lists, etc, what is the syntax for encoding all these
input that's submitted to the server? A link to an on-line tutorial
would be appreciated.
click a submit button in a form. For example,
(http://www.webcom.com/~webcom/html/tutor/forms/start.shtml)
< FORM METHOD=POST
ACTION="http://www.webcom.com/cgi-bin/form" >
Enter your name:
< INPUT NAME=your_name >
< INPUT TYPE=submit VALUE="Test this form" >
< /FORM >
Suppose I enter "John" into the name field and click on the button,
what exactly is the text that gets sent back to the server? I tried
"http://www.webcom.com/cgi-bin/form?John", but the server returns an
error message. I'd like to the correct syntax for this.
Also, in the case where a form contains multiple text fields, radio
buttons, drop lists, etc, what is the syntax for encoding all these
input that's submitted to the server? A link to an on-line tutorial
would be appreciated.