{"id":197,"date":"2008-12-04T08:48:08","date_gmt":"2008-12-04T00:48:08","guid":{"rendered":""},"modified":"2014-02-27T22:59:40","modified_gmt":"2014-02-27T14:59:40","slug":"%e7%94%a8asp%e7%94%9f%e6%88%90%e6%9d%a1%e5%bd%a2%e7%a0%81","status":"publish","type":"post","link":"http:\/\/www.xiaoyebailong.com\/index.php\/2008\/12\/04\/197.htm","title":{"rendered":"\u7528Asp\u751f\u6210\u6761\u5f62\u7801"},"content":{"rendered":"<p>\u4e00\u4e2a\u7528asp\u751f\u6210\u6761\u5f62\u7801\u7684\u4f8b\u5b50\u4ee3\u7801\u3002(\u6ce8\u610f\uff1a\u751f\u6210\u7684\u56fe\u5f62\u4e3ahtml\u4ee3\u7801,\u800c\u975e\u56fe\u7247\uff0c\u6253\u5370\u65f6\uff0c\u8bf7\u5728IE\u7684Internet\u9009\u9879=&gt;\u9ad8\u7ea7\uff1d\u300b\u6253\u5370&nbsp;\u9009\u5b9a&ldquo;\u6253\u5370\u80cc\u666f\u989c\u8272\u548c\u56fe\u50cf&rdquo;)&nbsp;&nbsp;<\/p>\n<p>\u8bf7\u5728Google\u4e0a\u641c\u7d22&quot;\u6761\u5f62\u7801&nbsp;\u5b57\u4f53&quot;<\/p>\n<p>&lt;html&gt;&nbsp; <br \/>\n&lt;head&gt;&nbsp; <br \/>\n&lt;meta&nbsp;http-equiv=&quot;Content-Type&quot;&nbsp;content=&quot;text\/html;&nbsp;charset=gb2312&quot;&gt;&nbsp; <br \/>\n&lt;meta&nbsp;name=&quot;Keywords&quot;&nbsp;content=&quot;3zha.com&quot;&gt;&nbsp; <br \/>\n&lt;META&nbsp;NAME=&quot;Author&quot;&nbsp;CONTENT=&quot;haiwa&quot;&gt;&nbsp; <br \/>\n&lt;title&gt;Asp\u751f\u6210\u6761\u5f62\u7801&lt;\/title&gt;&nbsp; <br \/>\n&lt;style&gt;&nbsp; <br \/>\n&lt;!&#8211;&nbsp; <br \/>\n*&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{font:menu}&nbsp; <br \/>\n&#8211;&gt;&nbsp; <br \/>\n&lt;\/style&gt;&nbsp; <br \/>\n&lt;\/head&gt;&nbsp; <\/p>\n<p>&lt;body&gt;&nbsp; <br \/>\n&lt;%&nbsp; <br \/>\n&rsquo;\u6761\u5f62\u7801\u751f\u6210\u7a0b\u5e8f&nbsp; <br \/>\n&rsquo;\u6d77\u5a03@2004-4-4&nbsp; <br \/>\n&rsquo;<a rel=\"nofollow\" href=\"http:\/\/www.51\/\" target=\"_blank\">http:\/\/www.51<\/a><a rel=\"nofollow\" class=\"wordstyle\" href=\"http:\/\/www.newasp.cn\/\" target=\"_blank\">windows<\/a>.Net&nbsp; <br \/>\nfunction&nbsp;haiwaocde(zfstr)&nbsp; <br \/>\n&nbsp;zf&nbsp;=&nbsp;zfstr&nbsp; <br \/>\n&nbsp;zf&nbsp;=&nbsp;replace(zf,&quot;0&quot;,&quot;_|_|__||_||_|&quot;)&nbsp; <br \/>\n&nbsp;zf&nbsp;=&nbsp;replace(zf,&quot;1&quot;,&quot;_||_|__|_|_||&quot;)&nbsp; <br \/>\n&nbsp;zf&nbsp;=&nbsp;replace(zf,&quot;2&quot;,&quot;_|_||__|_|_||&quot;)&nbsp; <br \/>\n&nbsp;zf&nbsp;=&nbsp;replace(zf,&quot;3&quot;,&quot;_||_||__|_|_|&quot;)&nbsp; <br \/>\n&nbsp;zf&nbsp;=&nbsp;replace(zf,&quot;4&quot;,&quot;_|_|__||_|_||&quot;)&nbsp; <br \/>\n&nbsp;zf&nbsp;=&nbsp;replace(zf,&quot;5&quot;,&quot;_||_|__||_|_|&quot;)&nbsp; <br \/>\n&nbsp;zf&nbsp;=&nbsp;replace(zf,&quot;7&quot;,&quot;_|_|__|_||_||&quot;)&nbsp; <br \/>\n&nbsp;zf&nbsp;=&nbsp;replace(zf,&quot;6&quot;,&quot;_|_||__||_|_|&quot;)&nbsp; <br \/>\n&nbsp;zf&nbsp;=&nbsp;replace(zf,&quot;8&quot;,&quot;_||_|__|_||_|&quot;)&nbsp; <br \/>\n&nbsp;zf&nbsp;=&nbsp;replace(zf,&quot;9&quot;,&quot;_|_||__|_||_|&quot;)&nbsp; <br \/>\n&nbsp;zf&nbsp;=&nbsp;replace(zf,&quot;a&quot;,&quot;_||_|_|__|_||&quot;)&nbsp; <br \/>\n&nbsp;zf&nbsp;=&nbsp;replace(zf,&quot;b&quot;,&quot;_|_||_|__|_||&quot;)&nbsp; <br \/>\n&nbsp;zf&nbsp;=&nbsp;replace(zf,&quot;c&quot;,&quot;_||_||_|__|_|&quot;)&nbsp; <br \/>\n&nbsp;zf&nbsp;=&nbsp;replace(zf,&quot;d&quot;,&quot;_|_|_||__|_||&quot;)&nbsp; <br \/>\n&nbsp;zf&nbsp;=&nbsp;replace(zf,&quot;e&quot;,&quot;_||_|_||__|_|&quot;)&nbsp; <br \/>\n&nbsp;zf&nbsp;=&nbsp;replace(zf,&quot;f&quot;,&quot;_|_||_||__|_|&quot;)&nbsp; <br \/>\n&nbsp;zf&nbsp;=&nbsp;replace(zf,&quot;g&quot;,&quot;_|_|_|__||_||&quot;)&nbsp; <br \/>\n&nbsp;zf&nbsp;=&nbsp;replace(zf,&quot;h&quot;,&quot;_||_|_|__||_|&quot;)&nbsp; <br \/>\n&nbsp;zf&nbsp;=&nbsp;replace(zf,&quot;i&quot;,&quot;_|_||_|__||_|&quot;)&nbsp; <br \/>\n&nbsp;zf&nbsp;=&nbsp;replace(zf,&quot;j&quot;,&quot;_|_|_||__||_|&quot;)&nbsp; <br \/>\n&nbsp;zf&nbsp;=&nbsp;replace(zf,&quot;k&quot;,&quot;_||_|_|_|__||&quot;)&nbsp; <br \/>\n&nbsp;zf&nbsp;=&nbsp;replace(zf,&quot;l&quot;,&quot;_|_||_|_|__||&quot;)&nbsp; <br \/>\n&nbsp;zf&nbsp;=&nbsp;replace(zf,&quot;m&quot;,&quot;_||_||_|_|__|&quot;)&nbsp; <br \/>\n&nbsp;zf&nbsp;=&nbsp;replace(zf,&quot;n&quot;,&quot;_|_|_||_|__||&quot;)&nbsp; <br \/>\n&nbsp;zf&nbsp;=&nbsp;replace(zf,&quot;o&quot;,&quot;_||_|_||_|__|&quot;)&nbsp; <br \/>\n&nbsp;zf&nbsp;=&nbsp;replace(zf,&quot;p&quot;,&quot;_|_||_||_|__|&quot;)&nbsp; <br \/>\n&nbsp;zf&nbsp;=&nbsp;replace(zf,&quot;r&quot;,&quot;_||_|_|_||__|&quot;)&nbsp; <br \/>\n&nbsp;zf&nbsp;=&nbsp;replace(zf,&quot;q&quot;,&quot;_|_|_|_||__||&quot;)&nbsp; <br \/>\n&nbsp;zf&nbsp;=&nbsp;replace(zf,&quot;s&quot;,&quot;_|_||_|_||__|&quot;)&nbsp; <br \/>\n&nbsp;zf&nbsp;=&nbsp;replace(zf,&quot;t&quot;,&quot;_|_|_||_||__|&quot;)&nbsp; <br \/>\n&nbsp;zf&nbsp;=&nbsp;replace(zf,&quot;u&quot;,&quot;_||__|_|_|_||&quot;)&nbsp; <br \/>\n&nbsp;zf&nbsp;=&nbsp;replace(zf,&quot;v&quot;,&quot;_|__||_|_|_||&quot;)&nbsp; <br \/>\n&nbsp;zf&nbsp;=&nbsp;replace(zf,&quot;w&quot;,&quot;_||__||_|_|_|&quot;)&nbsp; <br \/>\n&nbsp;zf&nbsp;=&nbsp;replace(zf,&quot;x&quot;,&quot;_|__|_||_|_||&quot;)&nbsp; <br \/>\n&nbsp;zf&nbsp;=&nbsp;replace(zf,&quot;y&quot;,&quot;_||__|_||_|_|&quot;)&nbsp; <br \/>\n&nbsp;zf&nbsp;=&nbsp;replace(zf,&quot;z&quot;,&quot;_|__||_||_|_|&quot;)&nbsp; <br \/>\n&nbsp;zf&nbsp;=&nbsp;replace(zf,&quot;-&quot;,&quot;_|__|_|_||_||&quot;)&nbsp; <br \/>\n&nbsp;zf&nbsp;=&nbsp;replace(zf,&quot;*&quot;,&quot;_|__|_||_||_|&quot;)&nbsp; <br \/>\n&nbsp;zf&nbsp;=&nbsp;replace(zf,&quot;\/&quot;,&quot;_|__|__|_|__|&quot;)&nbsp; <br \/>\n&nbsp;zf&nbsp;=&nbsp;replace(zf,&quot;%&quot;,&quot;_|_|__|__|__|&quot;)&nbsp; <br \/>\n&nbsp;zf&nbsp;=&nbsp;replace(zf,&quot;+&quot;,&quot;_|__|_|__|__|&quot;)&nbsp; <br \/>\n&nbsp;zf&nbsp;=&nbsp;replace(zf,&quot;.&quot;,&quot;_||__|_|_||_|&quot;)&nbsp; <br \/>\n&nbsp;&nbsp; <br \/>\n&nbsp;haiwaocde&nbsp;=&nbsp;zf&nbsp; <br \/>\nend&nbsp;function&nbsp; <br \/>\ncode_H&nbsp;=&nbsp;52&nbsp; <br \/>\ncode_W&nbsp;=&nbsp;2&nbsp; <br \/>\nfunction&nbsp;dragcode(ccode)&nbsp; <br \/>\n&nbsp;c&nbsp;=&nbsp;ccode&nbsp; <br \/>\n&nbsp;c&nbsp;=&nbsp;replace(c,&quot;_&quot;,&quot;&lt;span&nbsp;style=&rsquo;height:&quot;&amp;code_H&amp;&quot;;width:&quot;&amp;code_w&amp;&quot;;background:#FFFFFF&rsquo;&gt;&lt;\/span&gt;&quot;)&nbsp; <br \/>\n&nbsp;c&nbsp;=&nbsp;replace(c,&quot;|&quot;,&quot;&lt;span&nbsp;style=&rsquo;height:&quot;&amp;code_H&amp;&quot;;width:&quot;&amp;code_w&amp;&quot;;background:#000000&rsquo;&gt;&lt;\/span&gt;&quot;)&nbsp; <br \/>\n&nbsp;dragcode&nbsp;=&nbsp;c&nbsp; <br \/>\nend&nbsp;function&nbsp; <br \/>\nfunction&nbsp;dragtext(ccode)&nbsp; <br \/>\n&nbsp;c&nbsp;=&nbsp;ccode&nbsp; <br \/>\n&nbsp;dragtext&nbsp;=&nbsp;&quot;&quot;&nbsp; <br \/>\n&nbsp;for&nbsp;i=1&nbsp;to&nbsp;len(c)&nbsp; <br \/>\n&nbsp;dragtext&nbsp;=&nbsp;dragtext&amp;&quot;&lt;span&nbsp;style=&rsquo;width:26;text-align:center&rsquo;&gt;&quot;&amp;mid(c,i,1)&amp;&quot;&lt;\/span&gt;&quot;&nbsp; <br \/>\n&nbsp;next&nbsp; <br \/>\n&nbsp;dragtext&nbsp;=&nbsp;dragtext&nbsp; <br \/>\nend&nbsp;function&nbsp; <\/p>\n<p>Function&nbsp;CheckExp(patrn,str)&nbsp; <br \/>\nSet&nbsp;regEx=New&nbsp;RegExp&nbsp; <br \/>\nregEx.Pattern=patrn&nbsp; <br \/>\nregEx.IgnoreCase=true&nbsp; <br \/>\nregEx.Global=True&nbsp; <br \/>\nCheckExp&nbsp;=&nbsp;regEx.test(str)&nbsp;&nbsp;&nbsp; <br \/>\nEnd&nbsp;Function&nbsp; <\/p>\n<p>\ncode&nbsp;=&nbsp;request(&quot;c&quot;)&nbsp; <\/p>\n<p>if&nbsp;code&nbsp;=&nbsp;&quot;&quot;&nbsp;then&nbsp; <br \/>\n&nbsp;code&nbsp;=&nbsp;&quot;*51<a rel=\"nofollow\" class=\"wordstyle\" href=\"http:\/\/www.newasp.cn\/\" target=\"_blank\">windows<\/a>.net*&quot;&nbsp; <br \/>\nelse&nbsp; <br \/>\n&nbsp;if&nbsp;Checkexp(&quot;^[abcdefghijklmnopqrstuvwxyz1234567890\\+\\-\\*\\\/\\%\\$\\.]*$&quot;,code)&nbsp;then&nbsp; <br \/>\n&nbsp;&nbsp;code&nbsp;=&nbsp;&quot;*&quot;&amp;code&amp;&quot;*&quot;&nbsp; <br \/>\n&nbsp;else&nbsp; <br \/>\n&nbsp;&nbsp;code&nbsp;=&nbsp;&quot;*51<a rel=\"nofollow\" class=\"wordstyle\" href=\"http:\/\/www.newasp.cn\/\" target=\"_blank\">windows<\/a>.net*&quot;&nbsp; <br \/>\n&nbsp;&nbsp;errstr&nbsp;=&nbsp;&quot;&lt;br&gt;&lt;center&nbsp;style=&rsquo;color:red;&rsquo;&gt;\u542b\u6709\u975e\u6cd5\u5b57\u7b26&nbsp;&lt;\/center&gt;&quot;&nbsp; <br \/>\n&nbsp;end&nbsp;if&nbsp; <br \/>\nend&nbsp;if&nbsp; <br \/>\nocode&nbsp;=&nbsp;code&nbsp; <br \/>\ncode&nbsp;=&nbsp;lcase(code)&nbsp; <br \/>\n%&gt;&nbsp; <br \/>\n&lt;center&gt;&lt;form&nbsp;name=&quot;form1&quot;&nbsp;method=&quot;post&quot;&gt;\u5408\u6cd5\u5b57\u7b26\uff1aABCDEFGHIJKLMNOPQRSTUVWXYZ&nbsp;1234567890&nbsp;+&nbsp;&#8211;&nbsp;*&nbsp;\/&nbsp;%&nbsp;$&nbsp;.&lt;br&gt;&lt;br&gt;&lt;input&nbsp;name=&quot;c&quot;&nbsp;type=&quot;text&quot;&nbsp;value=&quot;&lt;%=request(&quot;c&quot;)%&gt;&quot;&nbsp;size=&quot;25&quot;&nbsp;maxlength=&quot;15&quot;&gt;&nbsp;&lt;input&nbsp;type=&quot;submit&quot;&nbsp;name=&quot;Submit&quot;&nbsp;value=&quot;\u63d0\u4ea4&quot;&gt;&lt;\/form&gt;&lt;center&gt;&nbsp; <br \/>\n&lt;div&nbsp;align=&quot;center&quot;&gt;&nbsp; <br \/>\n&nbsp;&nbsp;&lt;center&gt;&nbsp; <br \/>\n&nbsp;&nbsp;&lt;table&nbsp;border=&quot;0&quot;&nbsp;cellpadding=&quot;0&quot;&nbsp;cellspacing=&quot;0&quot;&nbsp;height=&quot;79&quot;&gt;&nbsp; <br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&lt;tr&gt;&nbsp; <br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;td&nbsp;height=&quot;61&quot;&nbsp;align=&quot;center&quot;&gt;&lt;%=dragcode(haiwaocde(code))%&gt;&lt;\/td&gt;&nbsp; <br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&lt;\/tr&gt;&nbsp; <br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&lt;tr&gt;&nbsp; <br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;td&nbsp;height=&quot;18&quot;&nbsp;align=&quot;center&quot;&nbsp;style=&quot;text-align:justify;text-justify:Distribute-all-lines;&quot;&gt;&lt;%=(ocode)%&gt;&lt;\/td&gt;&nbsp; <br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&lt;\/tr&gt;&nbsp; <br \/>\n&nbsp;&nbsp;&lt;\/table&gt;&nbsp; <br \/>\n&nbsp;&nbsp;&lt;\/center&gt;&nbsp; <br \/>\n&lt;\/div&gt;&nbsp; <br \/>\n&lt;%=errstr%&gt;&nbsp; <br \/>\n&lt;\/body&gt;&nbsp; <\/p>\n<p>&lt;\/html&gt;&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4e00\u4e2a\u7528asp\u751f\u6210\u6761\u5f62\u7801\u7684\u4f8b\u5b50\u4ee3\u7801\u3002(\u6ce8\u610f\uff1a\u751f\u6210\u7684\u56fe\u5f62\u4e3ahtml\u4ee3\u7801,\u800c\u975e\u56fe\u7247\uff0c\u6253\u5370\u65f6\uff0c\u8bf7\u5728IE\u7684Internet\u9009\u9879=&gt;\u9ad8\u7ea7\uff1d\u300b\u6253\u5370&nbsp;\u9009\u5b9a&ldquo;\u6253\u5370\u80cc\u666f\u989c\u8272\u548c\u56fe\u50cf&rdquo;)&nbsp;&nbsp; \u8bf7\u5728Goog&#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-197","post","type-post","status-publish","format-standard","hentry","category-technology"],"_links":{"self":[{"href":"http:\/\/www.xiaoyebailong.com\/index.php\/wp-json\/wp\/v2\/posts\/197","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=197"}],"version-history":[{"count":1,"href":"http:\/\/www.xiaoyebailong.com\/index.php\/wp-json\/wp\/v2\/posts\/197\/revisions"}],"predecessor-version":[{"id":66066,"href":"http:\/\/www.xiaoyebailong.com\/index.php\/wp-json\/wp\/v2\/posts\/197\/revisions\/66066"}],"wp:attachment":[{"href":"http:\/\/www.xiaoyebailong.com\/index.php\/wp-json\/wp\/v2\/media?parent=197"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.xiaoyebailong.com\/index.php\/wp-json\/wp\/v2\/categories?post=197"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.xiaoyebailong.com\/index.php\/wp-json\/wp\/v2\/tags?post=197"},{"taxonomy":"topic","embeddable":true,"href":"http:\/\/www.xiaoyebailong.com\/index.php\/wp-json\/wp\/v2\/topic?post=197"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}