Some constants in ASP

xiaoxiao2021-03-06  109

Requested with Request.ServerVariables ("Path_info")

Request.ServerVariables ("http_referer")

Server_name CGI The host name and IP address when the script is run.

Server_software The types of your servers are as follows: CERN / 3.0 or NCSA / 1.3.

Gateway_Interface runs CGI version. For UNIX servers, this is CGI / 1.1.

The HTTP protocol running in the Server_Protocol server. Here is http / 1.0.

The TCP port of the Server_Port server runs, usually the web server is 80.

Request_method POST or GET depends on how your form is submitted.

The HTTP_ACCEPT browser can directly receive Content-Types, which can have the HTTP Accept Header definition.

HTTP_USER_AGENT Summit the name, version, and other platform sexual information of the browser.

HTTP_REFERER Summit the URL of the text of the form, not all browsers issued this information, don't rely on it

Path_info attached to the path information, sent by the browser via the GET method.

PATH_TRANSLATED system specified in PATH_INFO? Muffield?

Script_name points to the path to this CGI script, is displayed in the URL (e.g., / cgi-bin / therecript).

Query_String Script Parameter or Form Enter (If you are submitted with Get). Query_string contains the parameters behind the URL.

Remote_host submits the host name of the script, this value cannot be set.

Remote_addr submits the host IP address of the script.

Remote_user submits the username of the script. If the server's Authentication is activated, this value can be set.

REMOTE_IDENT If the web server is running in Ident (a confirmation user connection to your protocol), the system that submits the form is also running the Ident, which contains the IDENT return value.

Content_type If the form is submitted with POST, this value will be Application / X-WWW-FORM-URLENCODED. In the form of upload file, Content-Type is a Multipart / Form-Data.

Content_length For a form of the standard input port for the form, the number of bytes of the standard input port is submitted.

转载请注明原文地址:https://www.9cbs.com/read-103739.html

New Post(0)