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?? Quote Link to comment 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. Quote Link to comment 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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.