This is a small example on
using the Microsoft XMLHTTP Control
If you are reading this page
then I shall assume that you already know a little bit about ASP and running ASP
scripts.
Here is the ASP code to pull yahoo's html and output it on your page.
There are many potential uses for this code including screen scraping (pulling
sections of another web site onto yours), and more.
Set objXMLHTTP = Server.CreateObject("Microsoft.XMLHTTP") 'create
the xmlhttp object
objXMLHTTP.Open "GET", URL, false 'use the open command to get the
url
objXMLHTTP.Send
'TO GET HEADERS
'response.write objXMLHTTP.getAllResponseHeaders
Response.Write "<hr>"
Response.Write "<h4>HTML Code for "&URL&"</h4>"
Response.Write "<textarea rows=30 cols=120>"
Response.Write objXMLHTTP.responseText 'output the html that
was pulled from the page
Response.Write "</textarea>"