{"id":67736,"date":"2017-02-12T13:57:45","date_gmt":"2017-02-12T05:57:45","guid":{"rendered":"http:\/\/www.xiaoyebailong.com\/?p=67736"},"modified":"2017-02-26T02:01:17","modified_gmt":"2017-02-25T18:01:17","slug":"xmlhttp%e7%89%88%e6%9c%ac%e8%af%a6%e8%a7%a3%e5%8f%8a%e4%bd%bf%e7%94%a8%e6%ad%a3%e7%a1%ae%e7%9a%84%e7%89%88%e6%9c%ac","status":"publish","type":"post","link":"http:\/\/www.xiaoyebailong.com\/index.php\/2017\/02\/12\/67736.htm","title":{"rendered":"XMLHTTP\u7248\u672c\u8be6\u89e3\u53ca\u4f7f\u7528\u6b63\u786e\u7684\u7248\u672c"},"content":{"rendered":"<p>\u8bf4\u8d77XMLHTTP\uff0c\u76f8\u4fe1\u4f60\u4e00\u5b9a\u4e0d\u4f1a\u964c\u751f\uff0c\u5f53\u524d\u5927\u7ea2\u5927\u7d2b\u7684AJAX\u6280\u672f\u7684\u6838\u5fc3\u6240\u5728\u3002\u6211\u5728\u8fd9\u91cc\u4e0d\u8ba8\u8bbaAJAX\uff0c\u4e5f\u4e0d\u8ba8\u8bbaJavaScript\uff0c\u800c\u662f\u8ba8\u8bbaVBScript\u3002<\/p>\n<p>\u6211\u679a\u4e3e\u4e86\u4e00\u4e0b\uff0c\u5728\u6211\u7684\u7cfb\u7edf\uff08Windows7\uff09\u4e2d\uff0c\u4ee5\u4e0bProgID\u90fd\u53ef\u4ee5\u521b\u5efaXMLHTTP\u5bf9\u8c61\uff1a<\/p>\n<blockquote><p>Microsoft.XMLHTTP<br \/>\nMicrosoft.XMLHTTP.1.0<br \/>\nMsxml2.ServerXMLHTTP<br \/>\nMsxml2.ServerXMLHTTP.3.0<br \/>\nMsxml2.ServerXMLHTTP.4.0<br \/>\nMsxml2.ServerXMLHTTP.5.0<br \/>\nMsxml2.ServerXMLHTTP.6.0<br \/>\nMsxml2.XMLHTTP<br \/>\nMsxml2.XMLHTTP.3.0<br \/>\nMsxml2.XMLHTTP.4.0<br \/>\nMsxml2.XMLHTTP.5.0<br \/>\nMsxml2.XMLHTTP.6.0<\/p><\/blockquote>\n<p>\u4e0d\u540c\u7684\u7248\u672c\u6709\u4ec0\u4e48\u533a\u522b\u5462\uff1fGoogle\u544a\u8bc9\u4f60\u7b54\u6848\uff1a<\/p>\n<p><a rel=\"nofollow\" href=\"http:\/\/blogs.msdn.com\/b\/xmlteam\/archive\/2006\/10\/23\/using-the-right-version-of-msxml-in-internet-explorer.aspx\" target=\"_blank\">Using the right version of MSXML in Internet Explorer<\/a><\/p>\n<p>\u8fd9\u662fMSDN\u535a\u5ba2\u4e0a\u7684\u4e00\u7bc7\u6587\u7ae0\uff0c\u592a\u957f\u4e86\u6211\u5c31\u4e0d\u7ffb\u8bd1\u4e86\u3002\u5927\u6982\u662f\u8bf4\uff0c\u5982\u679c\u7cfb\u7edf\u5b89\u88c5\u4e86\uff08Vista\u4ee5\u4e0a\u81ea\u5e26\uff09\uff0c\u6700\u597d\u4f7f\u7528MSXML 6.0\uff1b\u5982\u679c\u7cfb\u7edf\u4e0a\u6ca1\u67096.0\uff0c\u5219\u5e94\u8be5\u4f7f\u7528MSXML 3.0\uff08Win2k\u4ee5\u4e0a\u81ea\u5e26\uff09\uff1b\u4e0d\u63a8\u8350\u4f7f\u7528\u76844.0\u30015.0\u7248\u672c\u3002\u8fd8\u6709\u5c31\u662fMicrosoft.XMLHTTP\u5df2\u7ecf\u5f88\u8001\u4e86\uff0c\u4e5f\u4e0d\u63a8\u8350\u4f7f\u7528\u3002<\/p>\n<p>\u8fd9\u662fMSDN\u535a\u5ba2\u4e0a\u7684\u4e00\u7bc7\u6587\u7ae0\uff0c\u592a\u957f\u4e86\u6211\u5c31\u4e0d\u7ffb\u8bd1\u4e86\u3002\u5927\u6982\u662f\u8bf4\uff0c\u5982\u679c\u7cfb\u7edf\u5b89\u88c5\u4e86\uff08Vista\u4ee5\u4e0a\u81ea\u5e26\uff09\uff0c\u6700\u597d\u4f7f\u7528MSXML 6.0\uff1b\u5982\u679c\u7cfb\u7edf\u4e0a\u6ca1\u67096.0\uff0c\u5219\u5e94\u8be5\u4f7f\u7528MSXML 3.0\uff08Win2k\u4ee5\u4e0a\u81ea\u5e26\uff09\uff1b\u4e0d\u63a8\u8350\u4f7f\u7528\u76844.0\u30015.0\u7248\u672c\u3002\u8fd8\u6709\u5c31\u662fMicrosoft.XMLHTTP\u5df2\u7ecf\u5f88\u8001\u4e86\uff0c\u4e5f\u4e0d\u63a8\u8350\u4f7f\u7528\u3002<\/p>\n<p>\u5fae\u8f6f\u5e2e\u52a9\u548c\u652f\u6301\u4e0a\u7684\u4e00\u7bc7\u6587\u7ae0\uff0c\u7b80\u5355\u7684\u6458\u5f55\u4e00\u4e0b\uff1a<\/p>\n<p>XMLHTTP \u548cServerXMLHTTP\u4e4b\u95f4\u7684\u533a\u522b\u662f\u4ec0\u4e48\uff1f<\/p>\n<p>XMLHTTP\u4e3a\u5ba2\u6237\u7aef\u5e94\u7528\u7a0b\u5e8f\u800c\u8bbe\u8ba1\uff0c\u5e76\u4f9d\u8d56\u4e8e\u57fa\u4e8eMicrosoft Win32 Internet (WinInet) \u800c\u6784\u5efa\u7684URLMon\u3002ServerXMLHTTP\u4e3a\u670d\u52a1\u5668\u5e94\u7528\u7a0b\u5e8f\u800c\u8bbe\u8ba1\uff0c\u5e76\u4f9d\u8d56\u4e8e\u65b0\u7684HTTP\u5ba2\u6237\u7aef\u5806\u6808WinHTTP\u3002ServerXMLHTTP\u63d0\u4f9b\u4e86\u53ef\u9760\u6027\u548c\u5b89\u5168\u6027\uff0c\u5e76\u4e14\u662f\u670d\u52a1\u5668\u5b89\u5168\u7684\u3002\u6709\u5173\u66f4\u591a\u4fe1\u606f\uff0c\u8bf7\u53c2\u89c1MSXML \u8f6f\u4ef6\u5f00\u53d1\u5de5\u5177\u5305(SDK)\u6587\u6863\u3002<\/p>\n<p>\u5982\u4f55\u5728XMLHTTP \u548cServerXMLHTTP \u4e4b\u95f4\u505a\u51fa\u9009\u62e9\uff1f<\/p>\n<p>\u6b63\u5982\u5176\u540d\u79f0\u6240\u793a\uff0cServerXMLHTTP\u63a8\u8350\u7528\u4e8e\u670d\u52a1\u5668\u5e94\u7528\u7a0b\u5e8f\uff0c\u800cXMLHTTP\u63a8\u8350\u7528\u4e8e\u5ba2\u6237\u7aef\u5e94\u7528\u7a0b\u5e8f\u3002XMLHTTP\u5177\u6709\u4e00\u4e9b\u4f18\u70b9\uff0c\u5982\u652f\u6301\u7f13\u5b58\u548c\u81ea\u52a8\u53d1\u73b0\u4ee3\u7406\u3002\u5b83\u53ef\u4ee5\u5728Windows 95\u548cWindows 98\u5e73\u53f0\u4e0a\u4f7f\u7528\uff0c\u5e76\u4e14\u975e\u5e38\u9002\u5408\u5355\u7528\u6237\u684c\u9762\u5e94\u7528\u7a0b\u5e8f\u3002<\/p>\n<p>\u6b64\u5916,\u8fd8\u53ef\u4ee5\u53c2\u8003\u4e00\u4e0b\u8fd9\u7bc7\u6587\u7ae0\uff1a<\/p>\n<p>MSXML2\u5bb6\u65cf\u63a2\u79d8<\/p>\n<p>\u603b\u7ed3\u4e00\u4e0b\uff0c\u5728\u5927\u90e8\u5206\u60c5\u51b5\u4e0b\uff0c\u8fd9\u6837\u521b\u5efaXMLHTP\u5c31\u53ef\u4ee5\u4e86\uff1a<\/p>\n<div class=\"wp_syntax\">\n<table>\n<tbody>\n<tr>\n<td class=\"line_numbers\">\n<pre>1\r\n<\/pre>\n<\/td>\n<td class=\"code\">\n<pre class=\"asp\">Set http = CreateObject(\"Msxml2.XMLHTTP\")<\/pre>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<p>Msxml2.XMLHTTP\u4f1a\u81ea\u52a8\u6620\u5c04\u5230Msxml2.XMLHTTP.3.0\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u8bf4\u8d77XMLHTTP\uff0c\u76f8\u4fe1\u4f60\u4e00\u5b9a\u4e0d\u4f1a\u964c\u751f\uff0c\u5f53\u524d\u5927\u7ea2\u5927\u7d2b\u7684AJAX\u6280\u672f\u7684\u6838\u5fc3\u6240\u5728\u3002\u6211\u5728\u8fd9\u91cc\u4e0d\u8ba8\u8bbaAJAX\uff0c\u4e5f\u4e0d\u8ba8\u8bbaJavaScript\uff0c\u800c\u662f\u8ba8\u8bbaVBScript\u3002 \u6211\u679a\u4e3e\u4e86\u4e00\u4e0b\uff0c\u5728\u6211\u7684\u7cfb\u7edf\uff08Windows7\uff09\u4e2d\uff0c\u4ee5\u4e0bProgID\u90fd\u53ef\u4ee5\u521b\u5efaXML&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,1],"tags":[257],"topic":[],"class_list":["post-67736","post","type-post","status-publish","format-standard","hentry","category-htmlcss","category-technology","tag-xmlhttp"],"_links":{"self":[{"href":"http:\/\/www.xiaoyebailong.com\/index.php\/wp-json\/wp\/v2\/posts\/67736","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=67736"}],"version-history":[{"count":1,"href":"http:\/\/www.xiaoyebailong.com\/index.php\/wp-json\/wp\/v2\/posts\/67736\/revisions"}],"predecessor-version":[{"id":67737,"href":"http:\/\/www.xiaoyebailong.com\/index.php\/wp-json\/wp\/v2\/posts\/67736\/revisions\/67737"}],"wp:attachment":[{"href":"http:\/\/www.xiaoyebailong.com\/index.php\/wp-json\/wp\/v2\/media?parent=67736"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.xiaoyebailong.com\/index.php\/wp-json\/wp\/v2\/categories?post=67736"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.xiaoyebailong.com\/index.php\/wp-json\/wp\/v2\/tags?post=67736"},{"taxonomy":"topic","embeddable":true,"href":"http:\/\/www.xiaoyebailong.com\/index.php\/wp-json\/wp\/v2\/topic?post=67736"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}