asp获取虚拟目录根路径的代码(虚拟目录怎么访问)一看就会

随心笔谈11个月前发布 admin
82 0


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

© 版权声明

相关文章