首页 /编程语言和算法/VB6/ASP
 ASP 查看你ASP的参数
2024年10月15日 23:34
<%for each Name in request.ServerVariables%>
<%=Name%>=<%=request.ServerVariables(Name)%><br><br>
<%next%>

运行结果:

...
APPL_MD_PATH=/LM/W3SVC/1/ROOT

APPL_PHYSICAL_PATH=D:\web\

AUTH_PASSWORD=

AUTH_TYPE=

AUTH_USER=

CERT_COOKIE=

CERT_FLAGS=

CERT_ISSUER=

CERT_KEYSIZE=

CERT_SECRETKEYSIZE=

CERT_SERIALNUMBER=

CERT_SERVER_ISSUER=

CERT_SERVER_SUBJECT=

CERT_SUBJECT=

CONTENT_LENGTH=0

CONTENT_TYPE=

GATEWAY_INTERFACE=CGI/1.1

HTTPS=off

HTTPS_KEYSIZE=

HTTPS_SECRETKEYSIZE=

HTTPS_SERVER_ISSUER=

HTTPS_SERVER_SUBJECT=

INSTANCE_ID=1

INSTANCE_META_PATH=/LM/W3SVC/1

LOCAL_ADDR=127.0.0.1

LOGON_USER=
...


 
全部回复(0)
首页 | 电脑版 |