Common Gateway Interface or CGI is a specification which allows Web users to run programs on your server. CGI is not a programming language; it is a gateway which allows small programs called "scripts" to be run over the Internet. CGI scripts take input passed to them from a form on a Web page, process the information, and then format the results in HTML. The result is usually a Web page that is generated by the script itself.

The language of choice for CGI processing is Perl, (Practical Extraction and Reporting Language.) Perl is often used because it is specifically designed to grab multiple text files and format them nicely, making it exceptional for writing HTML.

Other languages used occasionally for CGI Scripts are C/C++, Visual Basic, AppleScript, UNIX Shell, and Tcl. CGI Scripts can do almost anything when they are properly written.

To understand how CGI scripts work you should have a good understanding of HTML and some programming experience.

NOTE: We are unable to provide technical support for configuring CGI scripts.


Was this answer helpful?

Related Articles

The Ioncube loaders are installed and ready for use so you don't need to do anything to use them.
NetPBM is not installed in a central location on the server because ImageMagick can usually be used instead in most scripts and is installed on all...
The path to Perl on our servers is: /usr/bin/perl
We have a security measure in place in PHP on all servers called "open_basedir". This is where PHP scripts are restricted with regard to what parts...
Imagemagick is a popular utility for manipulation of image files within scripts and is often used by image galleries. The ImageMagick files are...