Jump to content

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.
This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.