CGI script


Also found in: Dictionary, Thesaurus, Medical, Legal.

CGI script

[¦sē¦jē′ī ‚skript]
(computer science)
A program, written in a language such as Perl, that is used for creating interactive Web pages; for example, it allows a Web server to process a request from a user, communicate with a database, and reply to the user by creating a Web page.

CGI script

CGI script

(Common Gateway Interface script) A relatively compact program written in a language such as Perl, Tcl, C or C++ that processes data on a Web server. It is commonly used to process a query from the user that was entered on an HTML page (Web page) and returned as an HTML page, in which case the CGI script functions as the glue between the query and the database. For example, it would pull the search data out of the GET request in the HTML form, look it up in the database management system (DBMS) and format the results as an HTML page that is sent back to the user.

CGI scripts were the initial mechanism used to make websites interact with databases and other applications. However, as the Web evolved, other server-side processing methods were developed that are more efficient than CGI, such as Active Server Pages (ASPs), JavaServer Pages (JSPs) and servlets. See ASP, JSP, servlet and FastCGI.


Web Server Evolution
Starting at the top and moving down, this illustration shows Web and application server processing as it evolved initially using only CGI scripts and later using Java components. The separation of logic is portrayed here, and the Web server (HTTP server) and application server may reside in the same or different computers.
References in periodicals archive ?
If everything has been configured properly, the CGI script will show up just like a web page, and you can start using it straight away.
As one of the world's top Web hosting providers, PSINet depends on VelociGen to ensure high levels of performance and stability for their client's CGI scripts and applications written in Perl or Tcl.
Instructions will be provided for popular ISPs, which allow users to add CGI scripts to the hosting site.
Improved CGI Compatibility Developers can instantly speed up existing CGI scripts without any changes.
For example, a VSE tutorial steps users through a sample application, demonstrating how to create CGI scripts and how to Web-enable VSE applications.
These PSEs give users everything they need to assure secure applications such as secure email, Web pages and CGI scripts.
FmPro Migrator Enterprise Edition supports migration of FileMaker to MySQL, Oracle 8i/9i, Access, SQL Server, Sybase and DB2 and the generation of Perl CGI scripts for MySQL and Oracle databases.
HTML pages, CGI scripts, Servlets, and/or JavaServer Pages).
In addition to access of site statistics and CGI scripts, the My Sage(SM) control panel offers real-time billing statements and invoices, online trouble ticket deployment, an extensive online Web development library, free applications, and a step by step guidance through common Web publishing procedures.
0, a dial-up Internet connection, and a Web site that supports CGI scripts.
Attendees will learn: layers & floating animations, saving components & templates, JavaScript actions, setting up downloadable files, advanced site management and utilization of CGI scripts.