Re: [PHP-DB] using code for multiple sites

2003-11-14 Thread Kim Steinhaug
link each site to a single file which sets the $inc_root, so you only change one file. HTH Peter -Original Message- From: mike [mailto:[EMAIL PROTECTED] Sent: 13 November 2003 14:42 To: [EMAIL PROTECTED] Subject: [PHP-DB] using code for multiple sites I currently manage

[PHP-DB] using code for multiple sites

2003-11-13 Thread mike
I currently manage several websites that share the same code. This code is included into many of the pages on every site. I have duplicate copies of the code set up in each virtual host directory. Obviously this wastes space on my server and wastes my time having to update them all. I was

RE: [PHP-DB] using code for multiple sites

2003-11-13 Thread Jacob A. van Zanen
13, 2003 3:42 PM To: [EMAIL PROTECTED] Subject: [PHP-DB] using code for multiple sites I currently manage several websites that share the same code. This code is included into many of the pages on every site. I have duplicate copies of the code set up in each virtual host directory. Obviously

Re: [PHP-DB] using code for multiple sites

2003-11-13 Thread CPT John W. Holmes
- Original Message - From: mike [EMAIL PROTECTED] I currently manage several websites that share the same code. create a directory called inc in /usr/local/apache and then add the following line to php.ini include_path = .:/usr/local/apache/inc I'd use a method like this, although

RE: [PHP-DB] using code for multiple sites

2003-11-13 Thread Peter Lovatt
] Sent: 13 November 2003 14:42 To: [EMAIL PROTECTED] Subject: [PHP-DB] using code for multiple sites I currently manage several websites that share the same code. This code is included into many of the pages on every site. I have duplicate copies of the code set up in each virtual host directory

Re: [PHP-DB] using code for multiple sites

2003-11-13 Thread Chris Boget
create a directory called inc in /usr/local/apache and then add the following line to php.ini include_path = .:/usr/local/apache/inc I'd use a method like this, although I'd probably just use an absolute path instead of adjusting the include_path. What's the benefit of using an absolute

Re: [PHP-DB] using code for multiple sites

2003-11-13 Thread CPT John W. Holmes
From: Chris Boget [EMAIL PROTECTED] create a directory called inc in /usr/local/apache and then add the following line to php.ini include_path = .:/usr/local/apache/inc I'd use a method like this, although I'd probably just use an absolute path instead of adjusting the include_path.