如何从asp中的物理路径获取相对虚拟路径.网
Server.MapPath("Virtual Path Here");
但是,上面的方法的相反之处是什么呢?
如何从asp中的物理路径获取相对虚拟路径.网
Server.MapPath("Virtual Path Here");
但是,上面的方法的相反之处是什么呢?
也许this question是你想要的.
String RelativePath = AbsolutePath.Replace(Request.ServerVariables["APPL_PHYSICAL_PATH"], String.Empty);