系统城装机大师 - 固镇县祥瑞电脑科技销售部宣传站!

当前位置:首页 > 网络编程 >  ASP编程 > 详细页面

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

时间:2020-02-03来源:系统城作者:电脑系统城

核心代码:


 
  1. <%
  2. TempArray =Array("account_book","admin","ajaxFile","catalog","excel","excel_stu","frame","inc","lib","pub","stock","student","sygl","temp","windows")
  3. url= LCase(Server.MapPath("./"))
  4. for i=0 to UBound(TempArray)
  5. url=Replace(url,"\"&TempArray(i),"")
  6. Next
  7. response.write url
  8. %>
分享到:

相关信息

系统教程栏目

栏目热门教程

人气教程排行

站长推荐

热门系统下载