asp获取当前文件在服务器上的全路径

来源:互联网 发布:linux dns配置 详解 编辑:程序博客网 时间:2024/05/08 17:41

 

'asp获取当前文件在服务器上的全路径getpath_frist=split(right(request.ServerVariables("URL"),len(request.ServerVariables("URL"))-1),"/")for ii=lbound(getpath_frist) to ubound(getpath_frist)-1 getpath_full=getpath_full&"/"&getpath_frist(ii)nextfullurlpath="http://"&request.ServerVariables("HTTP_HOST")&getpath_full&"/"response.Write(fullurlpath)
原创粉丝点击