![]()
| The use of CGI scripts adds much usefulness to a
Web site by supporting a number of interactive functions
that are of value to both the visitor and the presenter.
These functions include forms to gather information from
the user, clickable image maps, and data base support. The form below uses the Common Gateway Interface (CGI) to send the data you enter along to our host server when you click the SUBMIT button. The server passes the data to a CGI script in the form of "NAME = VALUE" variables. The CGI script is an executable program, written in Perl, that will perform the function of adding the data into a data base that resides on the server. The data may then be reviewed for appropriate action. Try submitting the form without filling in the necessary contact information and see what happens. You will see an example of how CGI can interactively generate an appropriate HTML page "on the fly," the content of which is based on the completeness of the variables entered by the user. A Perl script can also execute other programs hosted by the server operating system to perform additional tasks, such as a data base look-up. Click here to see the Perl code that executes the following form. |