CGI (Common Gate Interface) scripts are programs on your WWW server
which provide an interface to other applications running on your system,
like a database. Whenever additional data is transmitted from a WWW page to
the server to be computed (usually with HTML forms), CGI scripts are used
for processing the data. They send the data to an external application, and
then send the result back to the client as an HTML document. CGI scripts can
be written in any language (Perl, C++, Apple Script, etc.). Also, security
is a big issue where CGI scripts are concerned because if you can start
arbitrary applications on a system, then you can also cause harm to that
system.