O'Reilly logo

Platinum Edition Using XHTML™, XML, and Java™ 2 by Andrew H. Watt, Mike Morgan, Jim O'Donnell, Eric Ladd

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Standard CGI Environment Variables

The following is a brief overview of the standard environment variables you're likely to encounter. Each server implements the majority of them consistently, but variations, exceptions, and additions exist. In general, you're more likely to find a new, otherwise undocumented variable omitted rather than a documented variable. The only way to be sure, however, is to check your server's documentation.

This section is taken from the NCSA specifications (see Figure 28.1) and is the closest thing to "standard" as you'll find. The following environment variables are set each time the server launches an instance of your script and are private and specific to that instance:

Figure 28.1. NCSA maintains a listing of the ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required