欢迎访问571脚本网
你的位置:首页 > 网络编程 > 文章正文

asp获取虚拟目录根路径的代码

时间: 2019-10-08 09:32:07 | 来源: 互联网 | 作者: mdxy-dxy | 阅读: 13次

核心代码:

<%
TempArray = Array("account_book","admin","ajaxFile","catalog","excel","excel_stu","frame","inc","lib","pub", "stock","student","sygl","temp","windows")
url= LCase(Server.MapPath("./"))
for i=0 to UBound(TempArray)
url=Replace(url,"\"&TempArray(i),"")
Next
response.write url
%>

文章标题: asp获取虚拟目录根路径的代码
文章地址: http://www.571ip.com/wangluo/129745.html
文章标签:asp  虚拟目录  根路径  ASP编程
Top