next up previous
Next: Creating CGI Scripts Up: CGI Scripting Previous: What is a CGI

Writing and Running CGI Scripts

CGI scripts can exist in many forms -- depending upon what the server supports.

CGI scripts can be compiled programs or batch files or any executable entity. For simplicity we will use the term script for all CGI entities.

Typically CGI scripts are written in:

We will concentrate on Perl in this course.

CGI scripts therefore have to be written (and maybe compiled) and checked for errors before they are run on the server.

CGI can be called and run in a variety of ways on the server.

The 2 most common ways of running a CGI script are:

One other way CGI scripts are called is in Server-side include HTML commands. This is something we will leave until later.


next up previous
Next: Creating CGI Scripts Up: CGI Scripting Previous: What is a CGI
Dave Marshall
9/28/2001