How about modifying PHP_INI_ALL to PHP_INI_SYSTEM|PHP_INI_PER 
as yes it's a white lie but it's less confusing.  I'd prefer 
this over the <note>.

For example, magic_quotes_gpc is listed this way as imho 
reflecting behavior is what's important here.

Awhile ago I posted this related question to php-dev:
  http://marc.theaimsgroup.com/?l=php-dev&m=101198971703359

Regards,
Philip


On Fri, 5 Apr 2002, Sander Roobol wrote:

> sander                Fri Apr  5 15:27:44 2002 EDT
> 
>   Modified files:              
>     /phpdoc/en/functions      info.xml 
>   Log:
>   Added note that changing upload_max_filesize with ini_set() has no effect.
>   
>   
> Index: phpdoc/en/functions/info.xml
> diff -u phpdoc/en/functions/info.xml:1.94 phpdoc/en/functions/info.xml:1.95
> --- phpdoc/en/functions/info.xml:1.94 Sun Mar 31 13:56:52 2002
> +++ phpdoc/en/functions/info.xml      Fri Apr  5 15:27:44 2002
> @@ -1,5 +1,5 @@
>  <?xml version="1.0" encoding="iso-8859-1"?>
> -<!-- $Revision: 1.94 $ -->
> +<!-- $Revision: 1.95 $ -->
>   <reference id="ref.info">
>    <title>PHP Options&amp;Information</title>
>    <titleabbrev>PHP Options/Info</titleabbrev>
> @@ -940,8 +940,17 @@
>      <para>
>       Not all the available options can be changed using
>       <function>ini_set</function>. Below is a table with a list of all
> -     PHP options (as of PHP 4.0.5-dev), indicating which ones can be
> +     PHP options (as of PHP 4.0.5), indicating which ones can be
>       changed/set and at what level.
> +    </para>
> +    <note>
> +     <para>
> +      Note that changing the <option>upload_max_filesize</option> value using
> +      <function>ini_set</function> has no effect since it's value is used
> +      by PHP before your script runs.
> +     </para>
> +    </note>
> +    <para>
>       <table>
>        <title><link linkend="configuration">Configuration</link> options</title>
>        <tgroup cols="3">
> 
> 


Reply via email to