On 16/04/06, Jochem Maas <[EMAIL PROTECTED]> wrote:
> Shaun wrote:
> > Hi,
> >
> > We have a dedicated UNIX server running FreeBSD, is it possible to set a
> > directory where we can place a set of common files that can be used by all
> > of our web sites?

> also check out PEAR (pear.php.net) which does exactly what you asked about,
> the pear system may give you more/some ideas about how to structure and access
> you common files.

I tend to collect all my common code into a single directory
heirarchy, and put a copy into the systems' PEAR directory.  Then I
can just go
require_once 'MyCompany/filename.php';

from anywhere on the system.  Until PEAR produces a module called
'MyCompany' (unlikely), it will live there entirely happily.

Alister

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to