Solved

include external page in asp

Posted on 2010-09-23
2
435 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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Prevent URL from printing on header 5 69
Auto Submit on dropdown box 3 74
Questions about INCLUDE FILES 2 31
is this a cms? 8 59
Have you ever needed to get an ASP script to wait for a while? I have, just to let something else happen. Or in my case, to allow other stuff to happen while I was murdering my MySQL database with an update. The Original Issue This was written…
This demonstration started out as a follow up to some recently posted questions on the subject of logging in: http://www.experts-exchange.com/Programming/Languages/Scripting/JavaScript/Q_28634665.html and http://www.experts-exchange.com/Programming/…
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

785 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