|
|
|
|
The Common Gateway Interface (CGI) is a standard for interfacing external applications with information servers, such as HTTP or Web servers. Most web pages are plain HTML documents that are static, which means it exists in a constant state: a text file that doesn't change. A CGI program, on the other hand, is executed in real-time, so that it can output dynamic information (see several examples below).
|
|
For example, let's say that you wanted to "hook up" your Unix database to the World Wide Web, to allow people from all over the world to query it. Basically, you need to create a CGI program that the allows your web page to transmit information to the database and receive results back that display them to the client. Some examples that you can view demonstrations of below are: Web Calendar, Guest Book, and Links Trader. These are CGI programs written in Perl by T. Davis Consulting Inc. You can view demonstrations below and even download the program scripts and use them yourself.
|
Web Calendar
Demo
|
Guest Book
Demo
|
Links Trader
Demo
|
|
|
|
| |
| |
| |
|
|
|