Method of communicating data using the POST
Using the POST method of communicating data to a server is more secure and reliable, sensitive information, such as user password required to transfer data POST.
The following is also hello_get.py, it can also handle POST form data submitted by the browser:
The following is a form via POST method ( Method, = "POST" submit data to the server script hello_get.py):
Data transferred through the CGI program checkbox
https://www.xuanhe.net/ for submitting a checkbox or more option data, HTML code is as follows:
The following is the code checkbox.py file:
Modify checkbox.py permissions:
Radio data transmission through the CGI program
Radio transmitting data only to a server, HTML code is as follows:
radiobutton.py script code is as follows:
Modify radiobutton.py permissions: