UnMappath

Returns the virtual path of the absolute path specified in the required argument pathname.
Reverse of MapPath

CodeFunctionName
What is this?

Public

Not Tested

Imported
Private Function UnMappath(byVal pathname)
dim tmp, strRoot
strRoot = Server.Mappath("/")
tmp = replace( lcase( pathname ), lcase( strRoot ), "" )
tmp = replace( tmp, "\", "/" )
UnMappath = tmp
End Function

pathname

Views 4,270

Downloads 1,470

CodeID
DB ID