Re: [PHP-DEV] PHP_INI USER|PERDIR|SYSTEM|ALL

2002-01-28 Thread Philip Olson

it'd be uber cool if this got a response or two ;-)

> Looking through main/main.c it lists many configuration 
> directives as PHP_INI_ALL when in the real world this is 
> not the case.
> 
> For example, register_globals entry is:
> 
> STD_PHP_INI_BOOLEAN("register_globals", "1", PHP_INI_ALL,
>   OnUpdateBool, register_globals, php_core_globals, 
>   core_globals)
> 
> When it behaves more like: PHP_INI_PERDIR|PHP_INI_SYSTEM 
> as PHP_INI_USER cannot change this master value.  Another 
> example is magic_quote_gpc.
> 
> Please share some light on this.  The config documentation 
> will eventually contain this information and simply 
> harvesting the values from main.c does not seem appropriate.  
> Please explain a little about local/master values too :)
> 
> Regards,
> Philip Olson
> 
> 
> -- 
> PHP Development Mailing List 
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
> 


-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] PHP_INI USER|PERDIR|SYSTEM|ALL

2002-01-25 Thread Philip Olson


Looking through main/main.c it lists many configuration 
directives as PHP_INI_ALL when in the real world this is 
not the case.

For example, register_globals entry is:

STD_PHP_INI_BOOLEAN("register_globals", "1", PHP_INI_ALL,
  OnUpdateBool, register_globals, php_core_globals, 
  core_globals)

When it behaves more like: PHP_INI_PERDIR|PHP_INI_SYSTEM 
as PHP_INI_USER cannot change this master value.  Another 
example is magic_quote_gpc.

Please share some light on this.  The config documentation 
will eventually contain this information and simply 
harvesting the values from main.c does not seem appropriate.  
Please explain a little about local/master values too :)

Regards,
Philip Olson


-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]