:
1.
.
"Submit".
. "Submit"
.
"Submit" HTML
:
<form>
<input type="submit"
value="Submit" />
</form>
"Reset"
/
/.
2.
Submit
.
.
-
(e-mail)
.
.
form (
) action
,
mailto::
<form
action="mailto:somename@someserver.com">
.........
.........
.........
</form>
- ,
,
.
-,
-, .
, CGI-
.
CGI Common Gateway Interface.
CGI- , -
- C, C++ Perl.
action form
, CGI-. CGI-
, "" // .
CGI- ,
cgi-bin. CGI-
cgi. myscript.cgi,
cgi-bin , .
:
<form
action="cgi-bin/myscript.cgi">
.........
.........
.........
</form>
, CGI-
, . CGI-
.
.
-
.
, , ,
.
,
CGI- ( ). CGI
, .
PHP , ASP .
Host.bg cgi-bin ,
.
form
name method.
name
- name="clientinfo".
method
(, )
get post. get
URL. ,
100 ASCII.
post
,
action.
:
<form name="clientinfo" action="myscript.php"
method="post">
.........
.........
.........
</form>
: ayhibasketa