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

作者:互联网

2025-07-30

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),)Nextresponse.write url%>

注:相关教程知识阅读请移步到ASP教程频道。

相关标签:

ASP教程