Solved

include external page in asp

Posted on 2010-09-23
2
433 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 Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

I have helped a lot of people on EE with their coding sources and have enjoyed near about every minute of it. Sometimes it can get a little tedious but it is always a challenge and the one thing that I always say is:  The Exchange of information …
I would like to start this tip/trick by saying Thank You, to all who said that this could not be done, as it forced me to make sure that it could be accomplished. :) To start, I want to make sure everyone understands the importance of utilizing p…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

706 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now