Common Gateway Interface (CGI) is a set of standards to be implemented by web server software. The executable programs that send their output in the form of web pages are called CGI scripts
DDaudalagidhat Zitat gemachtvor 2 Jahren
The executable scripts are similar to console applications working in a command line interface environment, although their output is rendered as HTML response.
DDaudalagidhat Zitat gemachtvor 2 Jahren
A web server that implements CGI standard has a designated folder, typically named cgi-bin, in which these scripts are stored.
DDaudalagidhat Zitat gemachtvor 2 Jahren
If you open this folder, a htdocs folder and a cgi-bin folder (apart from others) will be seen. The htdocs folder is configured as document root of the server, and cgi-bin is the folder to store CGI script.
DDaudalagidhat Zitat gemachtvor 2 Jahren
Common Gateway Interface (CGI) technology is widely used by many web application servers for rendering dynamic content to a client computer's web browser.
DDaudalagidhat Zitat gemachtvor 2 Jahren
For example, in Apache server installation, its name is htdocs. On Windows IIS server, its name is wwwroot
DDaudalagidhat Zitat gemachtvor 2 Jahren
The AddHandler cgi-script directive tells the server which types of files are to be used as cgi scripts. Ensure that the.py
DDaudalagidhat Zitat gemachtvor 2 Jahren
First line in the script is called a shebang.
DDaudalagidhat Zitat gemachtvor 2 Jahren
Most common use of the POST method is to send HTML form data to a particular URL by specifying its method attribute to POST:
DDaudalagidhat Zitat gemachtvor 2 Jahren
One of the advantages of using the POST method is that there is no restriction on its data size. Also, the request query string is not exposed in the browser's URL.
fb2epub
Ziehen Sie Ihre Dateien herüber
(nicht mehr als fünf auf einmal)