Loading an external web site within my web site.

Cancelled Posted Jan 29, 2008 Paid on delivery
Cancelled Paid on delivery

Here is what I am trying to accomplish ??" I have a website: [[url removed, login to view]][1]. I want to take another web site ??" specifically: <[url removed, login to view]>and I want to place it within the template of my web site. The template page of my site that I want to use for this purpose is located at <[url removed, login to view]>. You will see that my web site uses drop down menus and other dynamic content. I want a user to be able to completely navigate the external web site from within my web site’s template on mountaininfo.com. It is not good enough just to display the first or second pages from the external web site. It needs to be able to display the entire web site within my template on mountaininfo.com.

Again ??" my web site is [[url removed, login to view]][2]

External web site is <[url removed, login to view]>

I ran out of space here so see rest of project requirements under deliverables section

## Deliverables

Continuation of project requirements:

Here are the issues:

1. I have tried doing this with an iframe.

2. The problem with using an iframe is that the user has to scroll up and down within the iframe ??" I want to be able to include the content from an external web site and have my web site's template dynamically adjust its height based on each page as each link in the external web site is clicked on. I do not want to have a second scroll bar and I do not want lots of extra space at the top or bottom of my web sites’ template.

3. I had another coder attempt this using PHP ??" the code looks like this:

***<div id="main_content">

*** <?php

*** if (!function_exists('file_get_contents')) {

*** //for php version<4.3

*** function file_get_contents($filepath) {

*** $contents = file($filepath);

*** if (is_array($contents)) {

*** $contents = implode('', $contents);

*** }

*** return $contents;

*** }

*** }

*** $req_url = '[url removed, login to view]';

*** if (is_array($_REQUEST)) {

*** foreach ($_REQUEST as $key => $value) {

*** if (!is_array($value))

*** $req_url .= '&'.$key.'='.$value;

*** }

*** }

*** $fgc = file_get_contents($req_url);

*** $cnt = str_replace("[url removed, login to view]", "[url removed, login to view]", $fgc);

***

***

*** echo $cnt;

*** ?>

*** </div>

You can see the code in action by visiting <[url removed, login to view]>There are a few problems with this method ??" First the entire external page has to load before anything is displayed. This can take a long time and is unacceptable. I am looking for a solution that offers a quick load speed or at least shows all of the page content from both web sites and then loads the images from both web sites.

Second ??" The way this is coded, as you go through the external web site that is within my web site template, certain links do not work. Based on how the external web site is coded, you come to a point where you are no longer within my template. For an example of what I am talking about, visit <[url removed, login to view]>- click on a picture of a home and then click on the button “Choose Another Price Category.?? At this point, you are no longer navigating the external web site from within my template.

As a test, I should be able to take **ANY** external web site ??" such as [url removed, login to view] or any other web site and place it within my template ??" I should be able to navigate through any pages within the external web site and as I navigate, my template that wraps the external web site should automatically expand and contract without the use of secondary scroll bars. The external web site’s content should be able to use flash, PHP, or other scripts and this should not cause a visitor viewing the external web site through my web site to have any problem.

If you cannot accomplish this project completely, please do not bid on it. If you want to show me an example of how this would work before bidding, you do not have to divulge code, however I do want to make sure you have a clear understanding of what I am asking for. IF YOU HAVE ANY QUESTIONS OR IF I HAVE NOT MADE MYSELF CLEAR ??" PLEASE POST YOUR QUESTIONS NOW.

If you are chosen for this project, please post what code needs to be added to my web site and I will upload to my server to test that everything works properly.

1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.

2) Deliverables must be in ready-to-run condition, as follows (depending on the nature of the deliverables):

a) For web sites or other server-side deliverables intended to only ever exist in one place in the Buyer's environment--Deliverables must be installed by the Seller in ready-to-run condition in the Buyer's environment.

b) For all others including desktop software or software the buyer intends to distribute: A software installation package that will install the software in ready-to-run condition on the platform(s) specified in this bid request.

3) All deliverables will be considered "work made for hire" under U.S. Copyright law. Buyer will receive exclusive and complete copyrights to all work purchased. (No GPL, GNU, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site per the coder's Seller Legal Agreement).

## Platform

FreeBSD shared hosting account.

Engineering Java Linux MySQL PHP Software Architecture Software Testing UNIX User Interface / IA

Project ID: #3676031

About the project

Remote project Active Jan 29, 2008