asp獲取虛擬目錄根路徑的代碼
更新時間:2017年04月19日 19:17:51 投稿:mdxy-dxy
這篇文章主要介紹了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
%>
相關(guān)文章
用asp實(shí)現(xiàn)的數(shù)據(jù)庫中存取文件的代碼
用asp實(shí)現(xiàn)的數(shù)據(jù)庫中存取文件的代碼...2007-03-03
ASP中RecordSet Open和Connection.Execute一些區(qū)別與細(xì)節(jié)分享
這篇文章主要介紹了ASP中RecordSet Open和Connection.Execute一些區(qū)別與細(xì)節(jié)分享,需要的朋友可以參考下2020-08-08
asp中用insert into語句向數(shù)據(jù)庫插入記錄(添加信息)的方法
asp中用insert into語句向數(shù)據(jù)庫插入記錄信息的方法,學(xué)習(xí)的朋友可以參考下。2010-09-09

