Based on the MIME type of the document the browser formats and displays the results to the user. Languages A CGI application can be written in any scripting language or programming language, providing it can be executed on the server machine. Perl and C are popular options. It is common for Perl to be used for smaller applications and C for larger projects. No Installation Typically CGI applications must reside in a special directory and the permissions on this directory are such that only the server administrator can add applications.
Web servers differ in their implementation so it is best to contact the administrator for advice.
For large amounts of data it may be essential to be available. When your application requires an SQL Database, you'll need DBI installed, as well as the appropriate DBD Driver for the database you'll be using. CGI.pm CGI.pm is a Perl 5 CGI Library that makes writing CGI scripts with Perl 5 much easier by containing several often used routines in one downloadable package. An overview of the Common Gateway Interface, including a few sample programs, security tips and more. NCSA wrote this documentation which covers environment variables, the command line and standard input and output.