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 ?
CGI scripts are written in the programming language that is understood by the server.
Of course, the best approach is to write secure CGI scripts that prevent such attacks, but scanning can catch a good portion of the holes.
But Java, like CGI scripts, is still pretty darn arcane, particularly for the many Web page designers who don't want to deal with the complexity of programming.
pm is a Perl library for writing world wide web CGI scripts.
The reason for the prohibition is that CGI scripts can do a lot of harm on a server by deleting files and crashing the system.
50 databases, so the actual linkage mechanism is a Uniform Resource Locator (URL); one needs URLs that can include SICI codes and invoke CGI scripts or other services in the server that map the SICI code to the appropriate article file, or external published algorithms for computing appropriate URLs from SICIs that can be implemented in the client dynamically or used in programs that build linkages in the A&I files as a batch process.
For individual users, the big disadvantage of this solution is that it requires permission to install the CGI scripts or the DLLs on the server Most ISPs refuse such permission, especially a college or employer.
These include interesting scans that look for vulnerabilities in routers from Cisco and other companies, CGI scripts, buffer overruns, remote-access connections, back doors, RPC, and SNMP," says Oliver Kaven of PC Magazine.
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.