Jump to content

any help would be really gr8full


runnerjp

Recommended Posts

hey guys
ok 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 sence

so 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 page

do 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

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.

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.