Posted by anton-io! on 11/02/05 08:36
thanks ... will try that
"Sam Tang" <samtang@localhost> wrote in message news:43682d08$1@127.0.0.1...
> 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?
>>
>>
[Back to original message]
|