当前位置:首页 > ASP教程 > 应用技巧

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

核心代码:

<%
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
%>


【说明】本文章由站长整理发布,文章内容不代表本站观点,如文中有侵权行为,请与本站客服联系(QQ:)!