论文部分内容阅读
一般的WWW服务器都具有CGI(Common Gateway Interface)的功能,它能解释从浏览器端输入的信息,进而用这种信息查询数据库,并把查询结果返回到浏览器。对于如何利用WWW服务器CGI功能去查询数据库,首先要对CGI的工作原理有所了解。 1、CGI的工作原理 不同的WWW服务器,它所提供的CGI功能尽管不同,但其工作原理是相同的。CGI的运行环境集成于WWW服务器之中。我们从构造一个CGI应用谈起,一般的CGI应用由以下几部分构成: 1) 编制一个称为表单的
The common WWW server has the function of Common Gateway Interface (CGI), which can interpret the information input from the browser, then use this information to query the database and return the query result to the browser. How to use the WWW server CGI function to query the database, we must first understand the working principle of CGI. 1, the working principle of CGI Different WWW server, although it provides different CGI functions, but its working principle is the same. CGI operating environment integrated in the WWW server. Let’s start with building a CGI application. The general CGI application consists of the following parts: 1) Make a form called