ASP里面什么变量可以和PHP的$_SERVER['REQUEST_URI']一样效果?!

 我来答
百度网友7a01259
2012-02-23 · TA获得超过582个赞
知道小有建树答主
回答量:1120
采纳率:0%
帮助的人:1446万
展开全部
Request.ServerVariables
以下为参数,=号前都是
输出方法: response.write Request.ServerVariables("PATH_INFO")
输出域名后面的所有地址

all_http=http_accept:image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, */* http_accept_language:zh-cn http_connection:keep-alive http_host:localhost:88 http_user_agent:mozilla/4.0 (compatible; msie 6.0; windows nt 5.1; sv1; .net clr 1.1.4322) http_cookie:aspsessionidsqbtbads=hddlkakaajdkphhbnbbaaclh http_accept_encoding:gzip, deflate
all_raw=accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, */* accept-language: zh-cn connection: keep-alive host: localhost:88 user-agent: mozilla/4.0 (compatible; msie 6.0; windows nt 5.1; sv1; .net clr 1.1.4322) cookie: aspsessionidsqbtbads=hddlkakaajdkphhbnbbaaclh accept-encoding: gzip, deflate
appl_md_path=/lm/w3svc/1/root/xml
appl_physical_path=c:\documents and settings\khaspc\桌面\olcr_1\1\
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=
path_info=/xml/request.s.asp
path_translated=c:\documents and settings\khaspc\桌面\olcr_1\1\request.s.asp
query_string=
remote_addr=127.0.0.1
remote_host=127.0.0.1
remote_user=
request_method=get
script_name=/xml/request.s.asp
server_name=localhost
server_port=88
server_port_secure=0
server_protocol=http/1.1
server_software=microsoft-iis/5.1
url=/xml/request.s.asp
http_accept=image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, */*
http_accept_language=zh-cn
http_connection=keep-alive
http_host=localhost:88
http_user_agent=mozilla/4.0 (compatible; msie 6.0; windows nt 5.1; sv1; .net clr 1.1.4322)
http_cookie=aspsessionidsqbtbads=hddlkakaajdkphhbnbbaaclh
http_accept_encoding=gzip, deflate
hwt87802887
2012-03-05 · TA获得超过194个赞
知道小有建树答主
回答量:606
采纳率:50%
帮助的人:264万
展开全部
Request.ServerVariables("PATH_INFO")
已赞过 已踩过<
你对这个回答的评价是?
评论 收起
推荐律师服务: 若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询

为你推荐:

下载百度知道APP,抢鲜体验
使用百度知道APP,立即抢鲜体验。你的手机镜头里或许有别人想知道的答案。
扫描二维码下载
×

类别

我们会通过消息、邮箱等方式尽快将举报结果通知您。

说明

0/200

提交
取消

辅 助

模 式