CGI Programming 101: Chapter 3: CGI Environment Variables

Full text for this chapter may be found here.

The text and programs here are from the first edition of CGI Programming 101. This has been replaced by the 2nd edition; please click here to view the updated material from the 2nd edition.

Name Description
env.txt Environment variables (source code)
env.cgi Environment variables (working example)
rhost.txt Remote Host ID (source)
rhost.cgi Remote Host ID (example)
rhostip.cgi Remote Host ID, using REMOTE_ADDR instead of REMOTE_HOST (example)
browser.txt Browser Type (source)
browser.cgi Browser Type (example)

All text and scripts are excerpted from CGI Programming 101, and are copyright © 1999 by Jacqueline D. Hamilton. Unauthorized reproduction of this material is prohibited.


Table of Contents | Order the Book | CGI101 Home