[PHP-DOC] #20622 [Opn]: auto_prepend_file 'reset' From: msopacua <email protected>
Date: 11/26/02

 ID: 20622
 Updated by: msopacua <email protected>
 Reported By: msopacua <email protected>
 Status: Open
 Bug Type: Documentation problem
 Operating System: Any
 PHP Version: 4.4.0-dev
 New Comment:

goba: because it was documented :) But you're right, it needs change.

philip: looking at the source, this only applies to apache sapi's and
goes for any php_value. It is not special for auto_prepend_file. (See
sapi/apache/mod_php4.c line 683).

Additionally - the special value 'none' is marked as "systemitem" of
class "constant" in en/chapters/config.xml of the documentation. This
isn't reflected in the HTML representation in any way.

Previous Comments:
------------------------------------------------------------------------

[2002-11-26 14:27:07] philip <email protected>

Here's some related information. In php.ini-dist:

; Automatically add files before or after any PHP document.
auto_prepend_file =
auto_append_file =

Which means the default value is essentially "" as the docs say in the
defaults table. Also the docs mention the special none value but could
someone explain the difference a bit? So when setting outside of
php.ini one must use none instead of ""? Does none make sense in
php.ini too?

------------------------------------------------------------------------

[2002-11-26 13:28:13] goba <email protected>

If you propose a change, why mark it bogus???

------------------------------------------------------------------------

[2002-11-26 07:37:25] msopacua <email protected>

Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to report
a bug at http://bugs.php.net/how-to-report.php

Actually - looking further it's documented under the configuration
directives.

(maybe the table 4-5 "Data handling Configuration Options" could list
'none' instead of "").

------------------------------------------------------------------------

[2002-11-26 07:32:56] msopacua <email protected>

Yep.
Not document ( http://www.php.net/manual/en/configuration.changes.php )
-> recategorizing.

------------------------------------------------------------------------

[2002-11-25 09:04:30] iliaa <email protected>

Try using 'none' as the value, that should clear the value.

------------------------------------------------------------------------

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/20622

-- 
Edit this bug report at http://bugs.php.net/?id=20622&edit=1

-- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php