CGI

The Common Gateway Interface is a small program written in a script language (such as Perl) that functions between HTML pages and other programs on a Web server. For example, a CGI script sends search keywords entered on a Web page to the database. It could also format the results of that search onto an HTML page, which is returned to the user.