Common Gateway Interface (CGI) has been around since the inception of the Web. Essentially, it's a program that can be called by the HTTP Server when a remote user performs an action on a Web page, such as filling out a form and clicking a button. The program that is called reads the input fields from the form, performs any necessary calculations or file updates, and then transmits a new Web page back to the remote user.