Executable script written in the Perl or C programming language; typically stored in the "cgi-bin" folder within a website directory on a Web server; can only be edited if it is not pre-compiled. CGI scripts are often used for running basic Web scripts. Examples include sending e-mail messages from a Web form (also called "formmail") and rotating advertisements within a website.