Solved

Including a page from another website.

Posted on 2004-08-23
3
124 Views
Last Modified: 2013-12-25
I don't believe it is possible but is there anyway to include someone else's page (legally, I am not trying to steal bandwidth. It's for an affiliate program), as part of your own page without using frames?  I tried server side includes in HTML as well as include statements in PHP.  All I got was blank pages.  Perhaps I was using them wrong?

If I have to use frames will the search engines not find the correct pages.  My hosting provider supports Perl and PHP.

Thanks
0
Comment
Question by:techhound
  • 2
3 Comments
 
LVL 53

Accepted Solution

by:
COBOLdinosaur earned 500 total points
ID: 11874194
To use includes the page actually has to be on your server, and the server must be configured to support includes. I think you probably have three options if you can't use includes:

1. Bring the page over serverside, and integrate it into your page when you generate. A lot of work.
2. Use an Iframe in the page.  The easiest
3. Use a layer and populate it with the imported page on the client side using XMLHTTP. The most flexible.

Cd&
0
 
LVL 48

Expert Comment

by:Tintin
ID: 11899045
or use Javascript to populate a frame.
0
 
LVL 53

Expert Comment

by:COBOLdinosaur
ID: 11903853
Glad we could help.  Thanks for the A. :^)

Cd&
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

I hope you'll find this tutorial useful and interesting. So let's try to extend Tcl with a new package.  For anyone more deeply interested please check out the book "Practical Programming in Tcl and Tk". It's really one of the best written books abo…
This article will show, step by step, how to integrate R code into a R Sweave document
Learn the basics of if, else, and elif statements in Python 2.7. Use "if" statements to test a specified condition.: The structure of an if statement is as follows: (CODE) Use "else" statements to allow the execution of an alternative, if the …
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

735 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