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
   
 
Misc

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

Name
Comment


Antispam Code (always a number)

Enter Code Above
Submit

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.

Tags

This item has the following tags:
tech asp

Useful? Donate for hosting costs

All content copyright (c) Ralpharama