CGI server-related environment variables : Environment Variables « CGI « Perl






CGI server-related environment variables

    

VARIABLE             MEANING

GATEWAY_INTERFACE    The version of CGI that the server supports. This might be CGI/1.1.

SERVER_NAME          The Internet domain name of the server.

SERVER_PORT          The port number that the Web server is using.

SERVER_PROTOCOL      The name and version of the protocol with which the client sent this request.

SERVER_SOFTWARE      The name and version of the Web server software. This might be NCSA/1.3.

   
    
    
    
  








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 client-related environment variables
11.HEADER DESCRIPTION
12.Display all values in env
13.Determining the User Agent and Printing the Appropriate Result
14.CGI Environment Variables (Must Be Uppercase)
15.CGI environment variable
16.An example of using QUERY_STRING.