Python CGI programmingWeb browsing
To better understand how CGI works, we can click a link or URL on the webpage:'Print'
'Print ''print 'Hello Word! This is my first CGI program 'print ''print '"print" "print"
"Print" Hello % s "% (first_name,
The principle and implementation of CGI interface
CGI interface principle and implementation (2012-12-7 over)
1.CGI definition:
CGI (Commongateway Interface) is a tool for HTTP servers to "talk" to programs on your or other machines, and its
1. Why CGI?
As we have seen above, any HTML is a static webpage, and it cannot implement some complex functions, while CGI can be implemented for us. For example,. list files in a directory on the server and operate on the files in the directory. B.
This article is contributed by whyang2006
The reason for this article is that it is required to control peripheral hardware devices through the web page on the Linux platform of arm.
Why do we need CGI programming? In HTML, when the customer fills
This article is contributed by whyang2006
The reason for this is that it requires a Web page to control peripheral hardware under Arm's Linux platform.
Why do you want to do CGI programming? In HTML, when a customer fills out a form, and press
When we talk about CGI, what are we talking about?The oldest Web server simply responds to the HTTP request from the browser and returns the HTML file stored on the server to the browser, which is static HTML. Things are constantly evolving and
In HTML, when the customer fills out the form and presses the send button, the content of the form is sent to the server, generally, in this case, you need a server script to process the Form Content, save them, query by content, or something else.
When talking about CGI, we are discussing what earliest Web servers simply respond to HTTP requests from browsers and return HTML files stored on servers to browsers, static HTML. Things are constantly evolving and websites are becoming more and
when we talk about CGI, what are we talking about?The oldest Web server simply responds to the HTTP request from the browser and returns the HTML file stored on the server to the browser, which is static HTML. Things are constantly evolving and
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.