What is CGI?

A CGI is a program that tanslates data from a web server and then displays that data on a web page or in an email. CGI involves the transfer of data between a server and a CGI program (called a script). This allows HTML pages to interact with other programming applications. These scripts make web pages interactive. Page counters, forms, guest books, random text/images and other features can be driven by CGI scripts. Some servers have pre-installed/pre-defined CGI scripts, meaning that the scripts are already installed on the server for you to use on your site. Some servers permit user-defined or custom CGI scripts, which means the site owner creates his/her own CGI script and runs this custom made script on the web site. Not all servers allow user-defined (custom) scripts for security reasons.

  • 12 Users Found This Useful
Was this answer helpful?

Related Articles

Using MySQL with CGI scripts

Using MySQL with Common Gateway Interface scripts will allow you to develop more interactive web...

How CGI Works ?

Normally clicking on a link in a web browser causes the web server to return a static .html page....