Click to See Complete Forum and Search --> : Include problem, hmmm


Davey_M
04-16-2006, 06:38 PM
well i have my index.php with an area for including home.php in it when it is loaded...

the code i'm using to include home.php is

<?php include 'http://www.merlins-realm.co.uk/home.php'; ?>

i tried with just home.php between the commas too but when i goto the page, www.merlins-realm.co.uk , it doesn't seem to include home.php in the page, am i missing something?

thanx in advance

sleven
04-16-2006, 06:58 PM
You can include file by this:

<?php readfile("http://www.merlins-realm.co.uk/home.php"); ?>