dim http set http=server.createobject("MSXML2.XMLHTTP") '//MSXML2.serverXMLHTTP也可以 Http.open "GET",url,false Http.setRequestHeader "Referer","http://www.dc9.cn/" Http.send()
Dim oXMLHttp As MSXML2.XMLHTTP30 = New MSXML2.XMLHTTP30() 或者 MSXML2.XMLHTTP30 oXMLHttp = new MSXML2.XMLHTTP30(); oXMLHttp.open(.... oXMLHttp.setRequestHeader(... oXMLHttp.send(..