View Single Post
  #3 (permalink)  
Old 12-08-05, 03:04 PM
digioz's Avatar
digioz digioz is offline
Community VIP
 
Join Date: Oct 2003
Location: Chicago, IL
Posts: 2,171
Thanks: 3
Thanked 9 Times in 9 Posts
Oh, I should also say that if you don't want to display the HTML browser output (if you just want to show the source code for example, you can use this:

Code:
<%
  Response.Buffer = True
  Dim objXMLHTTP, xml
  ' Create an xmlhttp object:
  Set xml = Server.CreateObject("Microsoft.XMLHTTP")
  ' Or, for version 3.0 of XMLHTTP, use:
  ' Set xml = Server.CreateObject("MSXML2.ServerXMLHTTP")
  ' Opens the connection to the remote server.
  xml.Open "GET", "http://www.digioz.com", False
 
  ' Actually Sends the request and returns the data:
  xml.Send
  'Display the HTML
  Response.Write "<xmp>"
  Response.Write xml.responseText
  
  Set xml = Nothing
%>
__________________
Reply With Quote