Date: 07/17/00
- Next message: Matthew R. MacIntyre: "RE: [phplib] PHPLib and searchengines.."
- Previous message: layne <email protected>: "RE: [phplib] Template block nesting"
- In reply to: Manish Namdeo: "RE: [phplib] HELP: multiple phplib on the same server"
- Next in thread: Chris Stankevitz: "Re: [phplib] HELP: multiple phplib on the same server"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
I agree with you guys for keeping all thedata in the same database, but since
our database is already very complex (support multilanguage descriptiors ...)
and our product are pretty different, that the database neesds and web pages
are pretty different, we accepted the cost of doing the support of different
databases.
I understand now the prepend that i will do in my pages instead of the
auto_prepend. Thanks a lot.
but: I am still confused with php3.ini. Two points:
1- How should i set the include path. What I guess is that i will put all my
phplib directory. This yaw php will be able to find all what it needs (I still
have a doubt though that this parameter is not used ?)
2- In the prepend file there is a variable _PHPBLIB["libdir"], Will this
variable be set properly ? (maybe by point one). In this case, how php will
know which path to choose ?
Thanks for all
Manish Namdeo a *crit :
> 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
>
---------------------------------------------------------------------
To unsubscribe, e-mail: phplib-unsubscribe <email protected>
For additional commands, e-mail: phplib-help <email protected>
- Next message: Matthew R. MacIntyre: "RE: [phplib] PHPLib and searchengines.."
- Previous message: layne <email protected>: "RE: [phplib] Template block nesting"
- In reply to: Manish Namdeo: "RE: [phplib] HELP: multiple phplib on the same server"
- Next in thread: Chris Stankevitz: "Re: [phplib] HELP: multiple phplib on the same server"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

