Print Page | Close Window

include page from different website

Printed From: Web Wiz Forums
Category: General Discussion
Forum Name: Classic ASP Discussion
Forum Description: Discussion on Active Server Pages (Classic ASP).
URL: https://forums.webwiz.net/forum_posts.asp?TID=20488
Printed Date: 29 March 2026 at 10:15am
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: include page from different website
Posted By: urko
Subject: include page from different website
Date Posted: 29 June 2006 at 6:39pm
How can I include page that is on different location(server)?

By that i mean to show dynamic links which are on different website but would like to show them on my site?
Both sites are mine but are on different hosts.



-------------
Urko



Replies:
Posted By: dpyers
Date Posted: 29 June 2006 at 7:21pm
Either use xmlhttp to load the page into a string and then parse the string for the info you want, or use an iframe to hold the entire page.

EDIT: Example of using xmlhttp is at http://new2asp.com/Section_Files/PullStrings/xmlhttp.asp - http://new2asp.com/Section_Files/PullStrings/xmlhttp.asp
As you own both sites, I'd put some start and stop comments around the content I wanted to pull and then just strip everything between the coments.


-------------

Lead me not into temptation... I know the short cut, follow me.



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net