您的位置:首页技术文章
文章详情页

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

【字号: 日期:2022-06-05 08:39:36浏览:158作者:猪猪

核心代码:

<%
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
相关文章: