





























<%
url = "http://www.remotesite.com/out.asp"
' add a BASE HREF tag for remote page which has relative image URLs, or style sheets, or JavaScript files, or frames, or links
Response.Write "<base href='" & url & "' />"
Set xmlhttp = CreateObject("MSXML2.ServerXMLHTTP")
xmlhttp.Open "GET", url, false
xmlhttp.Send ""
Response.Write xmlhttp.ResponseText
Set xmlhttp = Nothing
%>
<%
url = "http://www.remotesite.com/out.asp"
Set xmlhttp = CreateObject("MSXML2.ServerXMLHTTP")
xmlhttp.Open "POST", url, false
xmlhttp.SetRequestHeader "Content-Type", "application/x-www-form-urlencoded"
xmlhttp.Send "x=1&y=2"
Response.Write xmlhttp.ResponseText
Set xmlhttp = Nothing
%>

此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。