Est. 1994

Home | About | Lessons | Forum | Photos | Share | RSS/Podcast

Home
Got SIRIUS?

©

XMLHTTP

 

Demo XMLHTTP

  1. Create an ASP page
  2. Use the object XMLHTTP
  3. Add this ASP code where you want the other page to appear.

<%
    Set objXMLHTTP = Server.CreateObject("Microsoft.XMLHTTP")
    objXMLHTTP.Open "GET", "http://www.yahoo.com", False
    objXMLHTTP.Send
    strPageText = objXMLHTTP.responseText
    Response.Write(strPageText)
    Set objXMLHTTP = Nothing
%>
 

The Results:

.....

msxml3.dll error '80070005'

Access is denied.

/xmlhttp.asp, line 142