Returns the virtual path of the absolute path specified in the required argument pathname.
Reverse of MapPath
Private Function UnMappath(byVal pathname)
dim tmp, strRoot
strRoot = Server.Mappath("/")
tmp = replace( lcase( pathname ), lcase( strRoot ), "" )
tmp = replace( tmp, "\", "/" )
UnMappath = tmp
End Function
dim tmp, strRoot
strRoot = Server.Mappath("/")
tmp = replace( lcase( pathname ), lcase( strRoot ), "" )
tmp = replace( tmp, "\", "/" )
UnMappath = tmp
End Function
pathname
Views 4,287
Downloads 1,481
CodeID
DB ID
ANmarAmdeen
609
Revisions
v1.0
Sunday
August
26
2018