Basic HTML version of Foils prepared 2 Sept 1997

Foil 10 Other Information in environment variables

From CGI Programming with Advanced Topics Jackson State University Mississippi -- Fall Semester 97. by Nancy McCracken *

1 The web server also makes available information about the user and the server, including such things as what type of browser made the request.
2 A list of environment variables available to the CGI program:
3 GATEWAY_INTERFACE REMOTE_HOST
4 SERVER_NAME REMOTE_ADDR
5 SERVER_SOFTWARE AUTH_TYPE
6 SERVER_PROTOCOL REMOTE_USER
7 SERVER_PORT REMOTE_IDENT
8 REQUEST_METHOD CONTENT_TYPE
9 PATH_INFO CONTENT_LENGTH
10 PATH_TRANSLATED HTTP_FROM
11 SCRIPT_NAME HTTP_ACCEPT
12 DOCUMENT_ROOT HTTP_USER_AGENT (browser)
13 QUERY_STRING HTTP_REFERER

in Table To:


© 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 Sep 2 1997