Find this at http://www.npac.syr.edu/users/gcf/ecs400spring96/ecs400cgi/

Introduction to CGI Programming

Given by Nancy J. McCracken at ECS400 Senior Undergraduate Course on Spring Semester 1996. Foils prepared 2 June 1996

CGI is the Common Gateway Interface and is the scheme to interface other programs and systems to the HTTP Web protocol, using the same data protocols as the HTTP clients and servers.
In this section, we will cover
  • passing information from the web page to the CGI script
  • processing information on the server and returning formatted web pages back to the web client
  • an example using Perl as the scripting language
  • brief descriptions of other CGI capabilities
References:
  • HTML and CGI Unleashed, John December and Mark GInsburg, chapters 19, 20 and 21, Sams.net Publishing.
  • CGI Programming on the World Wide Web, Gundavaram, O'Reilly & Associates.
  • The CGI Book, William Weinman, New Riders Publishing.
  • Web documents.


Table of Contents for Introduction to CGI Programming


001 CGI Programming
002 CGI Programming
003 The Flow of Data amongst the Client, Server and CGI Script
004 The Flow of Data amongst the Client, Server and CGI Script
005 Example form for Hello, World!
006 Example CGI program in Perl for Hello, World!
007 Pass Data to a CGI Program through Environment Variables
008 Another way to pass data through environment variables
009 Other Information in environment variables
010 Passing data as Standard Input to the CGI program
011 Perl subprogram to read input from web forms - Part I
012 Perl subprogram - Part II
013 CGI Program Output:  the response to the web server
014 Some CGI programming practical tips
015 More practical tips


Northeast Parallel Architectures Center, Syracuse University, npac@npac.syr.edu

If you have any comments about this server, send e-mail to webmaster@npac.syr.edu.

Page produced by wwwfoil on Tue Feb 18 1997