global variables in php3-module
| From: | Jacob Gorm Hansen | Date: | Mon, 05 Jul 1999 13:46:32 +0000 |
| Subject: | global variables in php3-module | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-8087@lists.php.net to get a copy of this message | ||
Hi,
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.
It seems I have to mess with some of the #IFDEF threadsafe stuff that I
see in other modules, but what exactly is necessary is a bit hard for me
to find out.
Does anyone have some info on this?
Best regards,
Jacob
--
Enterprise Advertising & Enterprise Interactive
FIRST, DARING, DIFFERENT
Phone: +45 35 25 32 00, Fax: +45 35 25 32 22
E-mail: jacob@ead.dk