Common Gateway Interface (CGI)


CGI is the part of the Web server that can communicate with other programs running on the server. With CGI, the Web server can call up a program, while passing user-specific data to the program (such as what host the user is connecting from, or input the user has supplied using HTML form syntax). The program then processes that data and the server passes the program's response back to the Web browser.

Model


For realization CGI we can use the programming languages Perl, PHP, C ++ etc. By development of the applications with use of databases this technology can be used both for a file server, and for the client server variants. As servers of the data we can use MySql, MSql, Oracle8.0.
See example