{"id":21,"date":"2009-02-14T08:00:00","date_gmt":"2009-02-14T00:00:00","guid":{"rendered":"http:\/\/31.0.2.219:81\/?p=21"},"modified":"2014-03-11T16:24:25","modified_gmt":"2014-03-11T08:24:25","slug":"ewebeditor2-8-0%e6%9c%80%e7%bb%88%e7%89%88%e5%88%a0%e9%99%a4%e4%bb%bb%e6%84%8f%e6%96%87%e4%bb%b6%e6%bc%8f%e6%b4%9e","status":"publish","type":"post","link":"http:\/\/www.huike007.cn\/?p=21","title":{"rendered":"Ewebeditor2.8.0\u6700\u7ec8\u7248\u5220\u9664\u4efb\u610f\u6587\u4ef6\u6f0f\u6d1e"},"content":{"rendered":"<p>Ewebeditor2.8.0\u6700\u7ec8\u7248\u5220\u9664\u4efb\u610f\u6587\u4ef6\u6f0f\u6d1e\u9ed1\u5ba2&amp;\u5b89\u5168 ewebeditor,\u5220\u9664 \u8fd9\u4e2a\u6f0f\u6d1e\u53ef\u4ee5\u5f88\u9e21\u808b\uff0c\u4e5f\u53ef\u4ee5\u5f88\u81f4\u547d\uff0c\u5173\u952e\u770b\u4f60\u600e\u4e48\u5229\u7528\uff01<br \/>\n\u6b64\u6f0f\u6d1e\u5b58\u5728\u4e8eExample\\NewsSystem\u76ee\u5f55\u4e0b\u7684del&#101;te.asp\u6587\u4ef6\u4e2d\uff0c\u8fd9\u662fewebeditor\u7684\u6d4b\u8bd5\u9875\u9762\uff0c\u65e0\u987b\u767b\u9646\u53ef\u4ee5\u76f4\u63a5\u8fdb\u5165\uff0c\u770b\u8fd9\u4e9b\u4ee3\u7801\uff1a<br \/>\n&#39; \u628a\u5e26&#34;|&#34;\u7684\u5b57\u7b26\u4e32\u8f6c\u4e3a\u6570\u7ec4<br \/>\nDim aSavePathFileName<br \/>\naSavePathFileName = Split(sSavePathFileName, &#34;|&#34;)<br \/>\n&#39; \u5220\u9664\u65b0\u95fb\u76f8\u5173\u7684\u6587\u4ef6\uff0c\u4ece\u6587\u4ef6\u5939\u4e2d<br \/>\nDim i<br \/>\nFor i = 0 To UBound(aSavePathFileName)<br \/>\n&#39; \u6309\u8def\u5f84\u6587\u4ef6\u540d\u5220\u9664\u6587\u4ef6<br \/>\nCall DoDelFile(aSavePathFileName(i))<br \/>\nNext<br \/>\n\u800caSavePathFileName\u662f\u524d\u9762\u4ece\u6570\u636e\u5e93\u53d6\u51fa\u6765\u7684\uff1a<br \/>\nsSavePathFileName = o&#114;s(&#34;D_SavePathFileName&#34;)<br \/>\n\u770b\u770bD_SavePathFileName\u662f\u600e\u4e48\u6dfb\u52a0\u5230\u6570\u636e\u5e93\u91cc\u7684\uff0c\u5728addsave.asp(modifysave.asp)\u91cc\uff1a<br \/>\nsSavePathFileName = GetSafeStr(Request.Form(&#34;d_savepathfilename&#34;))<br \/>\n&#8230;<br \/>\no&#114;s(&#34;D_SavePathFileName&#34;) = sSavePathFileName<br \/>\n\u5c45\u7136\u8fc7\u6ee4\u4e86\uff0c\u662fGetSafeStr\u51fd\u6570\uff0c\u518d\u770b\u770b\u8fd9\u4e2a\u51fd\u6570\uff0c\u5728Startup.asp\u91cc\uff1a<br \/>\nFunction GetSafeStr(str)<br \/>\nGetSafeStr = Replace(Replace(Replace(Trim(str), &#34;&#39;&#34;, &#34;&#34;), Chr(34), &#34;&#34;), &#34;;&#34;, &#34;&#34;)<br \/>\nEnd Function<br \/>\n\u65e0\u8bed\uff0c\u8fd9\u4e0d\u662f\u8fc7\u6ee4\u5b57\u7b26\u578b\u6ce8\u5165\u7684\u51fd\u6570\u4e48\uff1f\u653e\u8fd9\u91cc\u4ec0\u4e48\u7528\u4e5f\u6ca1\u6709\u554a\uff01\u65e2\u7136\u8def\u5f84\u6ca1\u6709\u8fc7\u6ee4\uff0c\u90a3\u5c31\u53ef\u4ee5\u76f4\u63a5\u5b9a\u4e49\u4e86\uff0c\u6784\u9020\u4e00\u4e2a\u63d0\u4ea4\u9875\u9762\uff0c\u5176\u4e2dd_savepathfilename\u81ea\u5df1\u4efb\u610f\u8d4b\u503c(\u8981\u5220\u9664\u591a\u4e2a\u6587\u4ef6\uff0c\u7528|\u9694\u5f00\u5373\u53ef)\u3002\u8bd5\u8bd5..\/..\/eWebEditor.asp\uff0c\u63d0\u4ea4\u540e\u5220\u9664\u8be5\u65b0\u95fb\uff0c\u4e8e\u662f\u4e3b\u76ee\u5f55\u4e0b\u7684eWebEditor.asp\u4e0d\u89c1\u4e86\uff01<br \/>\n\u4e0b\u9762\u7ed9\u51fa\u5229\u7528\u7684htm\uff1a<br \/>\n<html><head><title>eWebEditor\u5220\u9664\u6587\u4ef6 by:oldjun(http:\/\/www.oldjun.com)<\/title><\/p>\n<style>body,p,td,input {font-size:9pt}<\/style>\n<p><\/head><body><a href=&#39;list.asp&#39;>\u65b0\u95fb\u5217\u8868<\/a> | <a href=&#39;add.asp&#39;>\u589e\u52a0\u65b0\u95fb<\/a><br \/>\n<b>\u589e\u52a0\u65b0\u95fb<\/b><\/p>\n<form action=&#34;http:\/\/127.0.0.1\/editor\/Example\/NewsSystem\/addsave.asp&#34; \nmethod=&#34;post&#34; name=&#34;myform&#34;><br \/>\n    <input type=hidden name=d_originalfilename><br \/>\n    <input type=hidden name=d_savefilename><\/p>\n<table cellspacing=3 align=center>\n<tr>\n<td>\u8981\u5220\u7684\u6587\u4ef6(\u76f8\u5bf9\u8def\u5f84\u5c31\u53ef\u4ee5\u4e86)\uff1a<\/td>\n<td><input type=&#34;text&#34; name=&#34;d_savepathfilename&#34; value=&#34;&#34; size=&#34;90&#34;><\/td>\n<\/tr>\n<tr>\n<td>\u65b0\u95fb\u6807\u9898(\u968f\u4fbf\u586b)\uff1a<\/td>\n<td><input type=&#34;text&#34; name=&#34;d_title&#34; value=&#34;&#34; size=&#34;90&#34;><\/td>\n<\/tr>\n<tr>\n<td>\u6807\u9898\u56fe\u7247\uff1a<\/td>\n<td><sel&#101;ct name=&#34;d_picture&#34; size=1><option value=&#39;&#39;>\u65e0<\/option><\/sel&#101;ct><br \/>\n \u5f53\u7f16\u8f91\u533a\u6709\u63d2\u5165\u56fe\u7247\u65f6\uff0c\u5c06\u81ea\u52a8\u586b\u5145\u6b64\u4e0b\u62c9\u6846<\/td>\n<\/tr>\n<tr>\n<td>\u65b0\u95fb\u5185\u5bb9(\u968f\u4fbf\u586b)\uff1a<\/td>\n<td><textarea name=&#34;d_content&#34;><\/textarea><\/td>\n<\/tr>\n<\/table>\n<p><input type=submit name=btnSubmit value=&#34; \u63d0 \u4ea4 &#34;><br \/>\n<input type=reset name=btnReset value=&#34; \u91cd \u586b &#34;><br \/>\n<\/form>\n<p><\/body><\/html><br \/>\n\u5220\u9664\u6587\u4ef6\u6f0f\u6d1e\u4e00\u822c\u662f\u914d\u5408\u5176\u4ed6\u6f0f\u6d1e\u4f7f\u7528\u7684\uff0c\u6bd4\u5982\u76ee\u5f55\u904d\u5386\uff01<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Ewebeditor2.8.0\u6700\u7ec8\u7248\u5220\u9664\u4efb\u610f\u6587\u4ef6\u6f0f\u6d1e\u9ed1\u5ba2&amp;\u5b89\u5168 ewebeditor,\u5220\u9664 \u8fd9\u4e2a\u6f0f\u6d1e\u53ef [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[180],"tags":[304],"_links":{"self":[{"href":"http:\/\/www.huike007.cn\/index.php?rest_route=\/wp\/v2\/posts\/21"}],"collection":[{"href":"http:\/\/www.huike007.cn\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.huike007.cn\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.huike007.cn\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.huike007.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=21"}],"version-history":[{"count":1,"href":"http:\/\/www.huike007.cn\/index.php?rest_route=\/wp\/v2\/posts\/21\/revisions"}],"predecessor-version":[{"id":312,"href":"http:\/\/www.huike007.cn\/index.php?rest_route=\/wp\/v2\/posts\/21\/revisions\/312"}],"wp:attachment":[{"href":"http:\/\/www.huike007.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=21"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.huike007.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=21"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.huike007.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=21"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}