欢迎来到奥多码

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

日期: 2020-06-22 13:43:36

核心代码:

<%
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实现在线压缩与解压缩功能代码

下一篇:Asp.Net MVC记住用户登录信息下次直接登录功能

  • 在线客服

    官方微信

    仅处理投诉、举报及平台使用问题;
    商品问题请咨询商家客服!

浏览记录