首页 > 编程 > ASP > 正文

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

2024-05-04 11:10:16
字体:
来源:转载
供稿:网友

核心代码:

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

 

 

注:相关教程知识阅读请移步到ASP教程频道。
发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表