Asp相对路径转换为绝对路径函数
来源:互联网 发布:python html网页解析 编辑:程序博客网 时间:2024/06/06 04:00
'================================================
' 函数名:ChkMapPath
' 作 用:相对路径转换为绝对路径
' 参 数:strPath ----原路径
' 返回值:绝对路径
'================================================
Function ChkMapPath(ByVal strPath)
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
- Asp相对路径转换为绝对路径函数
- 相对路径转换为绝对路径
- 绝对路径转换为相对路径
- ASP.net 1.1 中相对路径转换为绝对路径
- 写一个函数,转换相对路径为绝对路径
- java相对路径转换为绝对路径
- C# 将绝对路径转换为相对路径
- C# url 路径转换 相对路径 转换为 绝对路径
- 批量替换页面中的路径 相对路径转换为绝对路径
- asp.net服务器绝对路径转换成URL相对路径
- 使用 JavaScript 将相对路径转换为绝对路径
- PHP将相对路径URL转换为绝对路径URL
- 学习 shell —— 相对路径转换为绝对路径
- 终端中传入的相对路径转换为绝对路径
- windows相对路径转换绝对路径
- SHELL函数实现相对路径转化为绝对路径
- JavaScript打开窗口函数(Window.Open)使用详解、绝对路径与相对路径的获取与转换(含ASP.NET)
- JavaScript打开窗口函数(Window.Open)使用详解、绝对路径与相对路径的获取与转换(含ASP.NET)
- Asp根路径转为带域名全路径格式函数
- java开源项目
- Java里String 的equals和==
- 邓姓宗祠通用对联
- 解析SQL Server identity列的操作方法
- Asp相对路径转换为绝对路径函数
- IT院校教学服务网开张,http://17w.biz
- HTML精确定位:scrollLeft,scrollWidth,clientWidth,offsetWidth之完全详解
- 读书笔记一 在系统菜单中添加菜单选项
- JSF 入门
- Asp按月份自动创建文件夹函数
- WPF中桌面屏保的制作(主要代码)
- JBoss 4.2版本的注意事项
- [Ref]软件测试基础知识