.CGI File Extension
- Category: Executable Files
- Format: Text and Binary
What is an .CGI file?
.CGI is Common Gateway Interface Script
A CGI file is an executable script written in the Perl or C programming language. It is typically stored in the "cgi-bin" folder within a website directory on a web server and 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.