Here's a commonly used function that shows you how to use Microsoft's XMLHTTP object to retrieve the raw HTML code from a remote webpage on the Internet.
<%
Function GetHTML(sPage)
On Error Resume Next
Set objXMLHttp = Server.CreateObject ("Microsoft.XMLHTTP")
objXMLHttp.Open "GET", sPage, False
objXMLHttp.Send
If Err.Number = 0 Then
If objXMLHttp.Status = 200 then
GetHTML = objXMLHttp.ResponseText
Else
GetHTML = "Incorrect URL"
End if
Else
GetHTML = Err.Description
End If
Set objXMLHttp = Nothing
End Function
%>
<%=GetHTML("http://www.codefixer.com/app_mpv4_paypal/default.asp")%>
Further reading http://www.eggheadcafe.com/articles/20010114.asp
Get the best asp hosting provider from web-hosting-top.com and save up to 30%
Plug and play ASP membership script that integrates with PayPal to let you charge recurring membership fees.
