PDA

View Full Version : External pages within a table


The Piemaster
11-04-2002, 11:06 AM
Howdidoodi,

I am a relative beginner and dont know if this is possible...but here goes...

I can display e.g www.weatherchannel.com inside a table on my site using

<?php include("http://oap.weather.com/fcgi-bin/oap/generate_viewer_int?loc_id=UKXX0925&from=internal&par=internal&site=viewer&code=644097&promo=english");
?>

This is possible as all the images on the page have the full URL to them.

Is there a way of displaying pages where the images have not the full URL.

This is only an example to show what I mean. Its an attempt to get around frames if possible.


The Piemaster

Spookster
11-04-2002, 03:37 PM
Just create a page and put the weather.com stuff into as you normally would with any other images that you have locally then just include that page.

The Piemaster
11-04-2002, 04:37 PM
Howdidoodi,

thanks very much for the reply I can see how you can do that but the problem is the page I want to intergrate changes images twice a week ( its the lotto page and I have permission to use it ).

I could use frames top and bottom but the way my site is designed it is only 760 across but the lotto page is 100% so it does not look right. it is also too big to put in a frame intergrated into my page as there is, when using 800 x 600, only 2" to view the frame.

The Piemaster

Spookster
11-04-2002, 04:47 PM
You can put whatever you need to in that seperate page and just include that page into any other page you need it on. You don't need frames. Or am I missing something here?

The Piemaster
11-04-2002, 05:12 PM
Howdidoodi,

It will be me not explaining myself correctly.

What I have done actually works with the weather channel as when the include pulls in the html the image paths are written in the code http://www.weatherchannel.com/images/cloud.gif or whatever.

But if I try the same with the lotto page the image paths are written in the code as ./images/ball27.gif but as they are not on my server they will not be displayed. I could copy them and put them in a folder with a similar path but I would have to change them twice a week.

If what you suggest, would not be the case, it is my lack of understanding and knowledge that is the problem.

Thanks for trouble

The Piemaster

(Unfortunately not a webmaster)