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

2023-12-07 0 891

核心代码:

<%
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
%>

收藏 (0) 打赏

感谢您的支持,我会继续努力的!

打开微信/支付宝扫一扫,即可进行扫码打赏哦,分享从这里开始,精彩与您同在
点赞 (0)

悠久资源 ASP编程 asp获取虚拟目录根路径的代码 https://www.u-9.cn/biancheng/asp/126938.html

常见问题

相关文章

发表评论
暂无评论
官方客服团队

为您解决烦忧 - 24小时在线 专业服务