Rincewind17 Posted September 22, 2006 Share Posted September 22, 2006 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 More sharing options...
onlyican Posted September 22, 2006 Share Posted September 22, 2006 The ting is, to stop this happening, so I dont use someone elses scriptThis is blockedI think you can Allow Host, (the 2 servers IP's to talk to each other) Link to comment https://forums.phpfreaks.com/topic/21676-including-an-external-page/#findComment-96800 Share on other sites More sharing options...
Rincewind17 Posted September 22, 2006 Author Share Posted September 22, 2006 The same happens when I run waaah.php on the Boolean Soup server itself, onlyican. It doesn't make a difference. Link to comment https://forums.phpfreaks.com/topic/21676-including-an-external-page/#findComment-96808 Share on other sites More sharing options...
ober Posted September 22, 2006 Share Posted September 22, 2006 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. Link to comment https://forums.phpfreaks.com/topic/21676-including-an-external-page/#findComment-96813 Share on other sites More sharing options...
Rincewind17 Posted September 22, 2006 Author Share Posted September 22, 2006 [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. Link to comment https://forums.phpfreaks.com/topic/21676-including-an-external-page/#findComment-96822 Share on other sites More sharing options...
onlyican Posted September 22, 2006 Share Posted September 22, 2006 it is the style sheetLook at booleansoup.comYou have a stylehsheet at the topWhere as pc-creation has the same style sheet linkedBUTthe style sheet can not be found Link to comment https://forums.phpfreaks.com/topic/21676-including-an-external-page/#findComment-96885 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.