Page 1 of 1

iframe or something like it

Posted: Sat Mar 04, 2006 11:58 am
by bigbstanley
I'm brand new to PHP and don't know very much so be easy on me. I was originally trying to create a web page with the use of an iframe that has a dynamic height from an external link. I've given up hope on finding some type of code to work to fix this problem, when I was then suggested to try and use PHP.

Code: Select all

<?php
include 'http://www.google.com';
?>
This works great! However, I have questions about how to modify this a bit. Currently, this is what I have: http://www.psfcareercenter.com/test.php If you'd like to find out exactly what I'm trying to do with this, read here: http://www.kirupa.com/forum/showthread.php?t=211013

Here's my questions:

- It seems that the images and CSS of the external page don't load with the page; how do I fix that? (I realize that they are trying to find the images locally - how do I get around this?)

- How would I go about adding a link to this page that changes that external link? (preferably without going to an entire new site/just like an iframe). Right now the page loads google. How would I put a link on the page to just change the google part to yahoo?

- Is it possible to control the width of this? (Maybe if I put it in some CSS div tags.)