最新下载
热门教程
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
asp相对路径转换成绝对路径
时间:2022-07-02 23:14:31 编辑:袖梨 来源:一聚教程网
asp相对路径转换成绝对路径
Public Function ChkMapPath(ByVal strPath)
On Error Resume Next
Dim fullPath
strPath = Replace(Replace(Trim(strPath), "//", "/"), "\", "")
If strPath = "" Then strPath = "."
If InStr(strPath,":") = 0 Then
fullPath = Server.MapPath(strPath)
Else
strPath = Replace(strPath,"/","")
fullPath = Trim(strPath)
If Right(fullPath, 1) = "" Then
fullPath = Left(fullPath, Len(fullPath) - 1)
End If
End If
ChkMapPath = fullPath
End Function
相关文章
- 免费看电视剧电影软件下载-影视软件免费下载 03-22
- 鸣潮全息6海维夏平民队攻略-鸣潮全息6海维夏怎么打 03-22
- 鸣潮西格莉卡声骸推荐-西格莉卡声骸套装一览 03-22
- 微博网页版入口-微博官网最新地址在线浏览 03-22
- 鸣潮3.2版本的角色是谁-鸣潮3.2卡池一览 03-22
- poipiku官网登录入口-poipiku官方最新登录地址2026 03-22