一聚教程网:一个值得你收藏的教程网站

最新下载

热门教程

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

时间:2026-09-19 08:10:02 编辑:袖梨 来源:一聚教程网

这篇文章主要介绍了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),"")Nextresponse.write url%>

热门栏目