Hello,
I am doing some charity work with ASP classic, and I'm a bit rusty. What I am doing is importing a web page from a volunteers personal page into the charity's website. However the page comes up "not found". If I test with other urls like google.com it works fine.
Do you suppose the host is blocking the MSXML2.ServerXMLHTTP object?
-Pete
Games the old fashion way with Dice, Paper and Pencils!
I am doing some charity work with ASP classic, and I'm a bit rusty. What I am doing is importing a web page from a volunteers personal page into the charity's website. However the page comes up "not found". If I test with other urls like google.com it works fine.
Do you suppose the host is blocking the MSXML2.ServerXMLHTTP object?
Code:
Function getURL(url)
set xmlhttp = CreateObject("MSXML2.ServerXMLHTTP")
xmlhttp.open "GET", url, false
xmlhttp.send ""
getURL2 = xmlhttp.responseText
set xmlhttp = nothing
End Function
url = "[URL unfurl="true"]http://web.me.com/sundog_dave/K9_Karnival_2009/Home.html"[/URL]
webpage = getURL(url)
if webpage = "" then webpage = url
Response.write "<BASE HREF='" & url & "'>"
Response.Write( webpage )
-Pete
Games the old fashion way with Dice, Paper and Pencils!