Date: 07/16/00
- Next message: Andrius Juozapaitis: "Re: [phplib] problem with active_sessions"
- Previous message: francis: "[phplib] HELP: multiple phplib on the same server"
- In reply to: francis: "[phplib] HELP: multiple phplib on the same server"
- Next in thread: francis: "Re: [phplib] HELP: multiple phplib on the same server"
- Reply: francis: "Re: [phplib] HELP: multiple phplib on the same server"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Doing it the way you are suggesting is really a bad rogramming since product
is an entoity & just because it is a different product, it should not go
to a different database.
But in any case -
this is how you will do it.
1) /-Products/Product1
/-Products/Product1/libs/php (PHPLIB) -Just Change the local.inc here
2) /-Products/Product2
/-Products/Product2/libs/php (PHPLIB) -Just Change the local.inc here
Your pages can access phplib & other functionality like this
include('libs/php/prepend.inc');
This way the maintenance will be low & you will be able to replicate changes
with minimum effort.
You can even think of building some logic in the process.
Manish
-----Original Message-----
From: francis [mailto:fbouchard <email protected>]
Sent: Sunday, July 16, 2000 1:01 AM
To: phplib <email protected>
Subject: [phplib] HELP: multiple phplib on the same server
I am building a web site that will allow users to log bugs of our product. I
want to be able to support all our product. For this reason, I need to run
three different phplib on my php cgi.
the configuration would be like that:
web site: www.theSite.com/product1/support
/product2/support
/product3/support
I have 3 different databases and three sets of different pages. So I want to
have 3 local.inc, 3 loginform.ihtml, etc.
My problem comes when I want to configure php with the prepend.php3 and the
php3.ini, so php will be able to go to the good directory and get the good
local, etc.
Anybody have already done this ?
---------------------------------------------------------------------
To unsubscribe, e-mail: phplib-unsubscribe <email protected>
For additional commands, e-mail: phplib-help <email protected>
---------------------------------------------------------------------
To unsubscribe, e-mail: phplib-unsubscribe <email protected>
For additional commands, e-mail: phplib-help <email protected>
- Next message: Andrius Juozapaitis: "Re: [phplib] problem with active_sessions"
- Previous message: francis: "[phplib] HELP: multiple phplib on the same server"
- In reply to: francis: "[phplib] HELP: multiple phplib on the same server"
- Next in thread: francis: "Re: [phplib] HELP: multiple phplib on the same server"
- Reply: francis: "Re: [phplib] HELP: multiple phplib on the same server"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

