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,
Abstr:CGI specifies the interface protocol standard for the Web server to call other executable programs (CGI program. The Web server calls the CGI program to interact with the web browser. CGI programs can be written in any programming language,
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
This article is written to the C + + program Ape, also suitable for other programs interested in history ape=============================================When it comes to web development, you first think of PHP, javaee/jsp,. net/asp, Ruby on Rails,
1. Why use CGI.
As you can see, any HTML is a static Web page, and it does not implement some complex functionality, and CGI is achievable for us. Such as:
A. List the files in a directory on the server and manipulate the files in the directory;
B.
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.