Foilset Search Full Index for Basic foilset

Introduction to CGI Programming

Given by Nancy J. McCracken at ECS400 Spring 97 Senior Undergraduate Course on Spring Semester 97. Foils prepared 11 May 1997

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

There are two types of foils -- html and image which are each available in basic and JavaScript enabled "focused" style
(basic:)(focus style:) Denote Foils where Image Critical
(basic:)(focus style:) Denote Foils where HTML is sufficient

1 CGI Programming
with Advanced Topics
2 CGI Programming
3 The Flow of Data amongst the Client, Server and CGI Script
4 The Flow of Data amongst the Client, Server and CGI Script
5 Example form for Hello, World!
6 Example CGI program in Perl for Hello, World!
7 Pass Data to a CGI Program through Environment Variables
8 Another way to pass data through environment variables
9 Other Information in environment variables
10 Passing data as Standard Input to the CGI program
11 Perl subprogram to read input from web forms - Part I
12 Perl subprogram - Part II
13 CGI Program Output: the response to the web server
14 Some CGI programming practical tips
15 More practical tips
16 Password Protection on HTML Documents
17 Example protection files
18 Dynamic Web Pages --- Server Push
19 A Server-Push Animation
20 Server-Push Animation, cont.
21 Multiple-Block GIF Files (Animated GIFs)
22 Dynamic Web Pages --- Client Pull
23 Maintaining State with Hidden Fields
24 Hidden Fields in a "Shopping Basket"
25 Finishing the "Shopping Basket"
26 Maintaining State with Netscape Cookies
27 Setting up a cookie
28 Retrieving a cookie
29 Server Side Includes (SSI)
30 Some SSI Commands

Full WebWisdom URL and this Foilset Search
This contains all WebWisdom links preceded by those referenced in this foilset
© 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 Thu Aug 21 1997