Posted by Sam Tang on 11/02/05 05:05
the include path should be absolute path of the php file, like:
include "/var/www/html/domain1.com/masterfile.php";
due you using "include
('http://www.something11111.com/masterfile.php');", the file just return
the php result.
anton-io! wrote:
> Does anyone have any experience for this, here is the scenario:
>
> Example: I have 5 domain names on the same server.
>
> I would like to have one 'master' include file to be available to all
> domains for simple PHP scripts or function:
>
> If I use something like
>
> include ('http://www.something11111.com/masterfile.php');
>
> it just slows things down for the page to come up.
>
> Any recommendations?
>
>
Navigation:
[Reply to this message]
|