runnerjp Posted November 18, 2006 Share Posted November 18, 2006 hey guysok iv created a profile site on a sub domain www.profiles.runnerselite.com and i wanna put it on my main website so i dnt have to have to do new layout ect if that makes senceso on www.runnerselite.com/test.php i tried this by adding to my template and menus and other bits of info that i add to every page [code]<?php include("http://www.runnerselite.com/profiles")?>[/code]the problem is that is misses otu pictures and does not load them and for sum reaosn increasis in size and dus not fit on my pagedo i have to write a include script for all the files within runnerselite.com/profiles?? Link to comment https://forums.phpfreaks.com/topic/27694-any-help-would-be-really-gr8full/ Share on other sites More sharing options...
spelltwister Posted November 18, 2006 Share Posted November 18, 2006 It's very hard to follow what you're saying, but I think include the page and the pictures do not show up, it's probably referencing that's bad. IE, relative links vs. absolute links. Link to comment https://forums.phpfreaks.com/topic/27694-any-help-would-be-really-gr8full/#findComment-126670 Share on other sites More sharing options...
Adika Posted November 18, 2006 Share Posted November 18, 2006 Hi. In your code, you are adding a directory to a .php file which has no effect. You can only include files, not directories.Use this instead:[code]<?php include("http://www.runnerselite.com/profiles.php")?>[/code]Change profiles.php to whatever your included file name and extension is. Link to comment https://forums.phpfreaks.com/topic/27694-any-help-would-be-really-gr8full/#findComment-126678 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.