您的位置:首頁技術文章
文章詳情頁

asp獲取虛擬目錄根路徑的代碼

瀏覽:161日期:2022-06-05 08:39: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
相關文章:
国产综合久久一区二区三区