{"id":1319,"date":"2014-08-25T15:40:16","date_gmt":"2014-08-25T07:40:16","guid":{"rendered":"http:\/\/www.youthtribe.com\/?p=1319"},"modified":"2014-08-25T15:40:16","modified_gmt":"2014-08-25T07:40:16","slug":"asp-server-mappaht%e7%9a%84%e7%94%a8%e6%b3%95-%e8%bf%94%e5%9b%9e%e7%9a%84%e7%9b%ae%e5%bd%95%e8%af%b4%e6%98%8e","status":"publish","type":"post","link":"http:\/\/www.youthtribe.com\/archives\/1319","title":{"rendered":"[asp] server.mappaht\u7684\u7528\u6cd5-\u8fd4\u56de\u7684\u76ee\u5f55\u8bf4\u660e"},"content":{"rendered":"
.\/\u5f53\u524d\u76ee\u5f55
\n\/\u7f51\u7ad9\u4e3b\u76ee\u5f55
\n..\/\u4e0a\u5c42\u76ee\u5f55
\n~\/\u7f51\u7ad9\u865a\u62df\u76ee\u5f55
\n\u5982\u679c\u5f53\u524d\u7684\u7f51\u7ad9\u76ee\u5f55\u4e3aE:\\wwwroot \u5e94\u7528\u7a0b\u5e8f\u865a\u62df\u76ee\u5f55\u4e3aE:\\wwwroot\\company \u6d4f\u89c8\u7684\u9875\u9762\u8def\u5f84\u4e3aE:\\wwwroot\\company\\news\\show.asp
\n\u5728show.asp\u9875\u9762\u4e2d\u4f7f\u7528
\nServer.MapPath(“.\/”) \u8fd4\u56de\u8def\u5f84\u4e3a\uff1aE:\\wwwroot\\company\\news
\nServer.MapPath(“\/”) \u8fd4\u56de\u8def\u5f84\u4e3a\uff1aE:\\wwwroot
\nServer.MapPath(“..\/”) \u8fd4\u56de\u8def\u5f84\u4e3a\uff1aE:\\wwwroot\\company
\nServer.MapPath(“~\/”) \u8fd4\u56de\u8def\u5f84\u4e3a\uff1aE:\\wwwroot\\company
\nserver.MapPath(request.ServerVariables(“Path_Info”))
\nRequest.ServerVariables(“Path_Translated”)
\n\u4e0a\u9762\u4e24\u79cd\u65b9\u5f0f\u8fd4\u56de\u8def\u5f84\u4e3a D:\\wwwroot\\company\\news\\show.asp<\/p>\n","protected":false},"excerpt":{"rendered":"
Server.MapPath() .\/\u5f53\u524d\u76ee\u5f55 \/\u7f51\u7ad9\u4e3b\u76ee\u5f55 ..\/\u4e0a\u5c42\u76ee\u5f55 ~\/\u7f51\u7ad9\u865a\u62df\u76ee\u5f55 \u5982\u679c\u5f53\u524d\u7684\u7f51\u7ad9\u76ee\u5f55\u4e3aE:\\wwwroot \u5e94\u7528\u7a0b\u5e8f\u865a\u62df\u76ee\u5f55\u4e3aE:\\wwwroot\\company \u6d4f\u89c8\u7684\u9875\u9762\u8def\u5f84\u4e3aE:\\wwwroot\\company\\news\\show.asp \u5728show.asp\u9875\u9762\u4e2d\u4f7f\u7528 Server.MapPath(“.\/”) \u8fd4\u56de\u8def\u5f84\u4e3a\uff1aE:\\wwwroot\\company\\news Server.MapPath(“\/”) \u8fd4\u56de\u8def\u5f84\u4e3a\uff1aE:\\wwwroot Server.MapPath(“..\/”) \u8fd4<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[218,1,9],"tags":[211,230],"_links":{"self":[{"href":"http:\/\/www.youthtribe.com\/wp-json\/wp\/v2\/posts\/1319"}],"collection":[{"href":"http:\/\/www.youthtribe.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.youthtribe.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.youthtribe.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.youthtribe.com\/wp-json\/wp\/v2\/comments?post=1319"}],"version-history":[{"count":1,"href":"http:\/\/www.youthtribe.com\/wp-json\/wp\/v2\/posts\/1319\/revisions"}],"predecessor-version":[{"id":1320,"href":"http:\/\/www.youthtribe.com\/wp-json\/wp\/v2\/posts\/1319\/revisions\/1320"}],"wp:attachment":[{"href":"http:\/\/www.youthtribe.com\/wp-json\/wp\/v2\/media?parent=1319"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.youthtribe.com\/wp-json\/wp\/v2\/categories?post=1319"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.youthtribe.com\/wp-json\/wp\/v2\/tags?post=1319"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}