亲宝软件园·资讯

展开

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

人气:0
想了解asp获取虚拟目录根路径的代码的相关内容吗,在本文为您仔细讲解asp虚拟目录根路径的相关知识和一些Code实例,欢迎阅读和指正,我们先划重点: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),"")
Next
response.write url
%>

加载全部内容

相关教程
猜你喜欢
用户评论