Reply to Re: Master include php file?

Your name:

Reply:


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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация