This is the source code and links for Chapter 3 of CGI Programming 101. The full text for this chapter may be found here.

Chapter 3: CGI Environment Variables


Name Description
text.html Full Text for Chapter 3
env-cgi.html Environment variables (source code)
env.cgi Environment variables (working example)
envform.html Simple form using GET method
getform.html Multi-field form using GET method
get-cgi.html CGI (source code) for Multi-field form using GET method
refer-cgi.html Referring Page (source)
refer.cgi Referring Page (example)
rhost-cgi.html Remote Host ID (source)
rhost.cgi Remote Host ID (example)
browser-cgi.html Browser Type (source)
browser.cgi Browser Type (example)