Including a page from another website.

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
LVL 1
James CochraneB2B FINTECH WRITER/Technology WriterAsked:
Who is Participating?
 
COBOLdinosaurConnect With a Mentor Commented:
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
 
TintinCommented:
or use Javascript to populate a frame.
0
 
COBOLdinosaurCommented:
Glad we could help.  Thanks for the A. :^)

Cd&
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.