文章詳情頁
asp獲取虛擬目錄根路徑的代碼
瀏覽:158日期: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
相關文章:
1. ASP.NET MVC通過勾選checkbox更改select的內容2. ASP中實現字符部位類似.NET里String對象的PadLeft和PadRight函數3. asp.net core項目授權流程詳解4. ASP基礎知識Command對象講解5. asp中response.write("中文")或者js中文亂碼問題6. ASP中格式化時間短日期補0變兩位長日期的方法7. ASP.NET泛型三之使用協變和逆變實現類型轉換8. asp批量添加修改刪除操作示例代碼9. ASP.NET MVC視圖頁使用jQuery傳遞異步數據的幾種方式詳解10. ASP中if語句、select 、while循環的使用方法
排行榜
