Ralpharama Archive. The archive is almost 20 years old, this website is no longer maintained.

Home | New Writing | Old Writing | Cooking | Technical | Wine Making | Cocktails

Get a remote page with ServerXMLHTTP in ASP Classic

Hits 4466 | Created 2007-07-05 | Modified 2007-07-05

Pretty simple, and useful too:

' Code start
url = "http://www.ralpharama.co.uk/IT%20Horror/index.tx"
Set xmlhttp = CreateObject("MSXML2.ServerXMLHTTP")
xmlhttp.open "GET", url, false
xmlhttp.send ""
Response.write xmlhttp.responseText
Set xmlhttp = nothing
' Code End

Make a Comment


Antispam Code (always a number)

Enter Code Above

Note: All HTML will be removed except for bold and italics. Links will not display. Line breaks are added automatically. Use <pre>...</pre> for code.


This item has the following tags:
tech asp

Useful? Donate for hosting costs

All content copyright (c) Ralpharama