API configuration variables
| From: | Adam Kropielnicki | Date: | Fri, 12 May 2000 09:51:31 +0000 |
| Subject: | API configuration variables | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-18639@lists.php.net to get a copy of this message | ||
Hi
I have problem:
I want to add a configure option wich I'll be able to set in ini file and
change at runtime like error_reporting. I tried doing same things as in
error_reporting so:
- adding php_ini_entry and associated function in main.c
- adding associated global variables in php_global.h and zend_global.h
But when I change value of global variable in one script ( EG(variable)) this
change sometimes apperas in other scripts.
What do I wrong?
I'm working with PHP4RC1
Thanks for any help
--
Adam
--
_/ _/ _/_/_/ ----- Adam Kropielnicki, adasz@wp.pl -----
_/ _/ _/ _/ _/ Wirtualna Polska SA http://www.wp.pl
_/_/_/_/ _/_/_/
_/ _/ _/ --------==* Moja WP: http://moja.wp.pl
*==----------