CGI is an interface standard between external applications and WEB servers. The CGI specification allows Web servers to execute external programs and send their output to Web browsers. CGI turns the Web's simple set of static hypermedia documents into a complete new interactive media.
CGI is the specification for external programs when running a Web server. Programs written according to CGI can extend server functions.
CGI (Common Gateway Interface) is one of the most important technologies in WWW technology and has an irreplaceable important position. CGI is an interface standard between external applications (CGI programs) and WEB servers. It is the process of transferring information between CGI programs and Web servers.
The CGI specification allows Web servers to execute external programs and send their output to Web browsers. CGI turns the Web's set of simple static hypermedia documents into a complete new interactive media.
CGI processing steps:
⑴ Send user requests to the web server through the Internet.
⑵The web server receives the user request and hands it to the CGI program for processing.
⑶CGI program transmits the processing results to the web server.
⑷The web server sends the results back to the user.
The above is the detailed content of what is cgi. For more information, please follow other related articles on the PHP Chinese website!