TEZcgi.Values property
Variables passed to the CGI script.
Declaration
property Values[Index: string]: string read GetVal;Description
Values is a name-based array of variables that were passed to the
script by the web server or the HTTP request. The
Index variable
is the name of the variable whose value should be retrieved. The following
standard values are available:
- AUTH_TYPE
- Authorization type
- CONTENT_LENGTH
- Content length
- CONTENT_TYPE
- Content type
- GATEWAY_INTERFACE
- Used gateway interface
- PATH_INFO
- Requested URL
- PATH_TRANSLATED
- Transformed URL
- QUERY_STRING
- Client query string
- REMOTE_ADDR
- Address of remote client
- REMOTE_HOST
- DNS name of remote client
- REMOTE_IDENT
- Remote identity.
- REMOTE_USER
- Remote user
- REQUEST_METHOD
- Request methods (POST or GET)
- SCRIPT_NAME
- Script name
- SERVER_NAME
- Server host name
- SERVER_PORT
- Server port
- SERVER_PROTOCOL
- Server protocol
- SERVER_SOFTWARE
- Web server software
- HTTP_ACCEPT
- Accepted responses
- HTTP_ACCEPT_CHARSET
- Accepted character sets
- HTTP_ACCEPT_ENCODING
- Accepted encodings
- HTTP_IF_MODIFIED_SINCE
- Proxy information
- HTTP_REFERER
- Referring page
- HTTP_USER_AGENT
- Client software name
Other than the standard list, any variables that were passed by the web-client request, are also available. Note that the variables are case insensitive.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
