CGI introduction

CGI, the common gateway interface, belongs to oneWebThe server provides a standard interface for information services. Browser accesswebserver,webThe server can passCGIThe interface obtains the information submitted by the client and forwards it to the server sideCGIThe program processes, and finally returns the result to the client.

CGIThe system is mainly operated by the browserHTMLThe page is already on the serverCGIProgram composition.


The entire communication uses theHTTP protocol, so you need to know the browser Which CGI program on the server is requested to be executed.

server andCGI Interaction requires the assistance of environment variables. EachCGI program can only handle one user request , So when a CGI program process is activated, the environment variables belonging to the process are also created .

CGIis a standardized protocol that enables applications to be called CGIprogram orCGI< span style="font-family:宋体">Script, same aswebserver and client End to interact. CGIThe program can be usedPython,PERL,Shell,C/C++ and other languages.

WordPress database error: [Table 'yf99682.wp_s6mz6tyggq_comments' doesn't exist]
SELECT SQL_CALC_FOUND_ROWS wp_s6mz6tyggq_comments.comment_ID FROM wp_s6mz6tyggq_comments WHERE ( comment_approved = '1' ) AND comment_post_ID = 1632 ORDER BY wp_s6mz6tyggq_comments.comment_date_gmt ASC, wp_s6mz6tyggq_comments.comment_ID ASC

Leave a Comment

Your email address will not be published.