Solved

include external page in asp

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

Is there a way to do this in classic asp?  thanks
0
Comment
Question by:mcrmg
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying 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

Suggested Solutions

Title # Comments Views Activity
msxml3.dll error '80072efd' A connection with the server could be not established 8 53
is this a cms? 8 74
If condition on Html with Asp 11 44
JS does not refresh 6 40
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…
I was asked about the differences between classic ASP and ASP.NET, so let me put them down here, for reference: Let's make the introductions... Classic ASP was launched by Microsoft in 1998 and dynamically generate web pages upon user interact…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

730 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