iframe or something like it

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
bigbstanley
Forum Newbie
Posts: 4
Joined: Sat Mar 04, 2006 11:48 am
Location: Fort Lauderdale, FL

iframe or something like it

Post 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.)
Post Reply