asp做支付xml提交不成功什么原因

发布于 7 年前作者 zhengmin10052 次浏览最后编辑 7 年前来自 ask

msxml3.dll 错误 

指定资源下载失败。

1 回复
jing24
jing241 楼5 年前

 function PostHTTPPage(url,data)
dim Http
set Http=server.createobject(“MSXML2.ServerXMLHTTP”)
Http.open “Post”,url,False
Http.setRequestHeader"CONTENT-TYPE",“application/x-www-form-urlencoded”
Http.send(data)
if Http.readystate<>4 then exit function
PostHTTPPage=bytesToBSTR(Http.responseBody,“utf-8”)
set http=nothing
if err.number<>0 then err.Clear
end Function