CGI server variables
The following table describes common CGI environment variables that the server creates (some of these are not available with some servers):
| CGI server variable | Description |
| SERVER_SOFTWARE | Name and version of the information server software answering the request (and running the gateway). Format: name/version. |
| SERVER_NAME | Server's hostname, DNS alias, or IP address as it appears in self-referencing URLs. |
| GATEWAY_INTERFACE | CGI specification revision with which this server complies. Format: CGI/revision. |
| SERVER_PROTOCOL | Name and revision of the information protocol this request came in with. Format: protocol/revision. |
No comments:
Post a Comment