ASP源码.NET源码PHP源码JSP源码JAVA源码DELPHI源码PB源码VC源码VB源码Android源码
当前位置:首页 >> 网络编程 >> ASP教程 >> asp.net虚拟主机 asp获取虚拟目录根路径的代码

asp.net虚拟主机 asp获取虚拟目录根路径的代码

来源:网络整理     时间:2017-04-22     关键词:asp.net虚拟主机

本篇文章主要介绍了"asp.net虚拟主机 asp获取虚拟目录根路径的代码",主要涉及到asp.net虚拟主机方面的内容,对于ASP教程感兴趣的同学可以参考一下: 核心代码:<%TempArray = Array("account_book","admin","ajaxFile","catalog","excel",...

核心代码:

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

以上就介绍了asp.net虚拟主机 asp获取虚拟目录根路径的代码,包括了asp.net虚拟主机方面的内容,希望对ASP教程有兴趣的朋友有所帮助。

本文网址链接:http://www.codes51.com/article/detail_4282022.html

asp.net虚拟主机相关图片

asp.net虚拟主机相关文章