Solved

include external page in asp

Posted on 2010-09-23
2
436 Views
Last Modified: 2012-05-10
Hi,

Is there a way to do this in classic asp?  thanks
0
Comment
Question by:mcrmg
2 Comments
 
LVL 3

Expert Comment

by:LouSch7
ID: 33742683
If you are looking to include a truly external website, say www.google.com, see the code below:
<%
 dim objXMLHTTP
 URL = "http://www.google.com"

 Set objXMLHTTP = Server.CreateObject("Microsoft.XMLHTTP")
 objXMLHTTP.Open "GET", URL, false
 objXMLHTTP.Send

 Response.Write objXMLHTTP.responseText

 Set objXMLHTTP = Nothing
%>

Open in new window

0
 
LVL 7

Accepted Solution

by:
iopen earned 125 total points
ID: 33742727
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I recently decide that I needed a way to make my pages scream on the net.   While searching around how I can accomplish this I stumbled across a great article that stated "minimize the server requests." I got to thinking, hey, I use more than one…
Hello, all! I just recently started using Microsoft's IIS 7.5 within Windows 7, as I just downloaded and installed the 90 day trial of Windows 7. (Got to love Microsoft for allowing 90 days) The main reason for downloading and testing Windows 7 is t…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

828 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question