Forum Moderators: coopster
I would like to use php to do the same thing but nothing seems to work. Using the include() function opens the initial page fine but every link in the site won't work. If I make them static to the original site they, well, go there instead of "including" the page. I've tried a number of server functions to try to pick up the sending site but so far nothing.
Can someone get me pointed in the right direction to get something like this to work?
the upper frame will be of zero height so that it is invisible, put your include script in the default page of this upper frame which is of zero size,
your main frame will display the files and folders from the remote site, in your URLs give the target frame is your main frame this will keep the visitor on your site.
however if the above is not possible then you can do something like giving the URLs of remote site as
www.yourdomain.com/include.php?url=www.remote-site-url.com/foldername/
this way your visitor will remain on your site however you will get the complete new URL of the remote site in a query string variable.