Re: global variables in php3-module
| From: | Jacob Gorm Hansen | Date: | Mon, 05 Jul 1999 13:53:25 +0000 |
| Subject: | Re: global variables in php3-module | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-8089@lists.php.net to get a copy of this message | ||
The thing is I cannot put them in the .ini-file, since they are a bit
sensitive and having them on disk is dissallowed by the Danish Payment
Systems contract. I guess environment-variable are just as bad.
I was looking into using the resource-list, how about that?
Best,
Jacob
Rasmus Lerdorf wrote:
>
> > I recently created a php3-module for the payment system "cashcow"
> > (http://www.cashcow.dk). Now I need to store some global values, like
> > passwphrases for encrypted private keys, which I ask from the user when
> > Apache starts. I only want to ask once, not one time for every Apache
> > thread.
>
> Either do it as .ini variables or stick them into the environment.
>
> -Rasmus
--
Enterprise Advertising & Enterprise Interactive
FIRST, DARING, DIFFERENT
Phone: +45 35 25 32 00, Fax: +45 35 25 32 22
E-mail: jacob@ead.dk