核心代码:
<% 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获取虚拟目录根路径的代码
发表评论 取消回复