Jump to content

including an external page


Rincewind17

Recommended Posts

Hello there,

I am trying to include an external page in my own page, but somehow it ends up messed up.

[code]
<html>
  <head>
    <base href="http://www.booleansoup.com" />
  </head>

  <body>

  <?php
    include ("http://www.booleansoup.com/index.php?p=29&p2=5");
  ?>

  </body>
</html>
[/code]

I put in the base href because all paths on booleansoup.com are relative, and else all images don't work. However, still my page isn't equal to the included page:

[url=http://www.booleansoup.com/index.php?p=29&p2=5]http://www.booleansoup.com/index.php?p=29&p2=5[/url] (original)
[url=http://www.pc-creation.com/waaah.php]http://www.pc-creation.com/waaah.php[/url] (as you see the menu text is messed up here)


Does anyone know how to get this right? Thanks in advance!
Link to comment
https://forums.phpfreaks.com/topic/21676-including-an-external-page/
Share on other sites

[quote author=ober link=topic=109080.msg439493#msg439493 date=1158941707]
If I had to guess, I'd say your CSS is higher priority than the CSS from the other site.  Try changing the names of your CSS classes/IDs.
[/quote]

All the code in waaah.php is what I typed in my openingpost, so in there I don't use any CSS. If that is what you meant at least.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.