{"id":68610,"date":"2020-07-11T10:44:26","date_gmt":"2020-07-11T02:44:26","guid":{"rendered":"http:\/\/www.xiaoyebailong.com\/?p=68610"},"modified":"2020-07-21T00:10:53","modified_gmt":"2020-07-20T16:10:53","slug":"asp%e6%95%8f%e6%84%9f%e8%af%8d%e6%b1%87%e8%bf%87%e6%bb%a4%e5%87%bd%e6%95%b0","status":"publish","type":"post","link":"http:\/\/www.xiaoyebailong.com\/index.php\/2020\/07\/11\/68610.htm","title":{"rendered":"ASP\u654f\u611f\u8bcd\u6c47\u8fc7\u6ee4\u51fd\u6570"},"content":{"rendered":"\n<p>&lt;%<\/p>\n\n\n\n<p>function chkword(contents)<br>dim InvaildWords,InvaildWord,i<br>InvaildWords=&#8221;\u8bcd\u6c471|\u8bcd\u6c472&#8243; &#8216;\u9700\u8981\u8fc7\u6ee4\u5f97\u5b57\u7b26\u4ee5\u201c|\u201d\u9694\u5f00\uff0c\u6700\u540e\u7ed3\u675f\u7684\u5b57\u7b26\u5fc5\u987b\u662f|<br>InvaildWord=Split(InvaildWords,&#8221;|&#8221;)<br>For i=LBound(InvaildWord) To UBound(InvaildWord)-1<br>if InStr(contents,InvaildWord(i))>0 then<br>chkword=true<br>exit for<br>else<br>chkword=false<br>End If<br>next<br>end function<br>Function ChkInvaildWord(Words)<br>Const InvaildWords=&#8221;\u8bcd\u6c471|\u8bcd\u6c471|&#8221; &#8216;\u9700\u8981\u8fc7\u6ee4\u5f97\u5b57\u7b26\u4ee5\u201c|\u201d\u9694\u5f00\uff0c\u6700\u540e\u7ed3\u675f\u7684\u5b57\u7b26\u5fc5\u987b\u662f|<br>ChkInvaildWord=True<br>InvaildWord=Split(InvaildWords,&#8221;|&#8221;)<br>inWords=LCase(Trim(Words))<br>For i=LBound(InvaildWord) To UBound(InvaildWord)<br>If Instr(inWords,InvaildWord(i))>0 Then<br>ChkInvaildWord=True<br>Exit Function<br>End If<br>Next<br>ChkInvaildWord=False<br>End Function<\/p>\n\n\n\n<p>%><\/p>\n","protected":false},"excerpt":{"rendered":"<p>&lt;% function chkword(contents)dim InvaildWords,InvaildWord,iInvaildWords=&#8221;\u8bcd\u6c471|\u8bcd\u6c472&#8243; &#8216;\u9700\u8981\u8fc7\u6ee4\u5f97\u5b57\u7b26\u4ee5\u201c|\u201d\u9694\u5f00\uff0c\u6700\u540e&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"topic":[],"class_list":["post-68610","post","type-post","status-publish","format-standard","hentry","category-technology"],"_links":{"self":[{"href":"http:\/\/www.xiaoyebailong.com\/index.php\/wp-json\/wp\/v2\/posts\/68610","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.xiaoyebailong.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.xiaoyebailong.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.xiaoyebailong.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.xiaoyebailong.com\/index.php\/wp-json\/wp\/v2\/comments?post=68610"}],"version-history":[{"count":1,"href":"http:\/\/www.xiaoyebailong.com\/index.php\/wp-json\/wp\/v2\/posts\/68610\/revisions"}],"predecessor-version":[{"id":68611,"href":"http:\/\/www.xiaoyebailong.com\/index.php\/wp-json\/wp\/v2\/posts\/68610\/revisions\/68611"}],"wp:attachment":[{"href":"http:\/\/www.xiaoyebailong.com\/index.php\/wp-json\/wp\/v2\/media?parent=68610"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.xiaoyebailong.com\/index.php\/wp-json\/wp\/v2\/categories?post=68610"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.xiaoyebailong.com\/index.php\/wp-json\/wp\/v2\/tags?post=68610"},{"taxonomy":"topic","embeddable":true,"href":"http:\/\/www.xiaoyebailong.com\/index.php\/wp-json\/wp\/v2\/topic?post=68610"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}