CGI Environment Variables (Must Be Uppercase) : Environment Variables « CGI « Perl





CGI Environment Variables (Must Be Uppercase)

    
Name                 Value                          
AUTH_TYPE            if server supports user authentication  
CONTENT_LENGTH       The number of bytes passed from the server
CONTENT_TYPE         MIME type
DOCUMENT ROOT        The directory from which the server serves Web documents   /index.html
GATEWAY_INTERFACE    The revision of the CGI
HTTP_ACCEPT          The MIME types accepted by the client
HTTP_CONNECTION      The preferred HTTP connection type

   
    
    
    
  










Related examples in the same category

1.Display CGI environment variables
2.Viewing Environment Variables in a CGI Script
3.CGI Environment Variables
4.Learn about the server for a CGI request
5.Program to display CGI environment variables.
6.$ENV{'HTTP_USER_AGENT'}, $ENV{'SERVER_PROTOCOL'}, $ENV{'HTTP_HOST'}
7.Get and display the browser type by referencing HTTP_USER_AGENT
8.Server Environment Values
9.CGI request-related environment variables
10.CGI server-related environment variables
11.CGI client-related environment variables
12.HEADER DESCRIPTION
13.Display all values in env
14.Determining the User Agent and Printing the Appropriate Result
15.CGI environment variable
16.An example of using QUERY_STRING.