Solved

Including a page from another website.

Posted on 2004-08-23
3
122 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

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

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

If you get a (Blue Screen of Death), your system writes a small file called a minidump. Your first step is to make certain your computer is setup to record memory dumps. Right click My Computer, choose properties. Click on the advanced tab, an…
It is a general practice to get rid of old user profiles on a computer  in a LAN environment. As I have been working with a company in a LAN environment where users move from one place to some other place at times. This will make many user profil…
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

773 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