#20622 [Opn->Csd]: auto_prepend_file 'reset'

From: Date: Sat, 30 Nov 2002 03:58:03 +0000
Subject: #20622 [Opn->Csd]: auto_prepend_file 'reset'
References: 1  Groups: php.doc 
Request: Send a blank email to phpdoc+get-969350022@lists.php.net to get a copy of this message
ID: 20622 Updated by: pollita@php.net Reported By: msopacua@php.net -Status: Open +Status: Closed Bug Type: Documentation problem Operating System: Any PHP Version: 4.4.0-dev New Comment: This bug has been fixed in CVS. In case this was a PHP problem, snapshots of the sources are packaged every three hours; this change will be in the next snapshot. You can grab the snapshot at http://snaps.php.net/. In case this was a documentation problem, the fix will show up soon at http://www.php.net/manual/. In case this was a PHP.net website problem, the change will show up on the PHP.net site and on the mirror sites in short time. Thank you for the report, and for helping us make PHP better. Note added to explain the use of "none" Previous Comments: ------------------------------------------------------------------------ [2002-11-26 17:16:17] msopacua@php.net 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. ------------------------------------------------------------------------ [2002-11-26 14:27:07] philip@php.net 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@php.net If you propose a change, why mark it bogus??? ------------------------------------------------------------------------ [2002-11-26 07:37:25] msopacua@php.net 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@php.net Yep. Not document ( http://www.php.net/manual/en/configuration.changes.php ) -> recategorizing. ------------------------------------------------------------------------ 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

« previous php.doc (#969350022) next »