Date: 07/02/01
- Next message: danbeck <email protected>: "[PHP-DOC] Bug #11833 Updated: Unsufficient docs"
- Previous message: goba <email protected>: "[PHP-DOC] Bug #11833 Updated: Unsufficient docs"
- Next in thread: danbeck <email protected>: "[PHP-DOC] Bug #11833 Updated: Unsufficient docs"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
ID: 11833
User Update by: M.Izydorski <email protected>
Status: Open
Bug Type: Documentation problem
Operating system: any
PHP Version: 4.0.6
Description: Unsufficient docs
I don't agree.
I just disable register_global by setting it Off.
Now I can't acces simply $PHP_SELF - returned string is empty.
When I get $HTTP_SERVER_VARS["PHP_SELF"], the return string is such as the $PHP_SELF with register_global "On".
Maybe it isn't docs bug, but devel bug?
Previous Comments:
---------------------------------------------------------------------------
[2001-07-02 07:06:16] goba <email protected>
$PHP_SELF is not an environment variable, nor a server variable, it is a special PHP variable, so it wont be registered in any arrays you listed
---------------------------------------------------------------------------
[2001-07-02 06:53:24] M.Izydorski <email protected>
There isn't enough information, from which assosiative array we can acces to predefined variables, when register globals is not set. Espesially $PHP_SELF isn't in $HTTP_ENV_VARS but $HTTP_SERVER_VARS, which mean not intuos (in my opinion) localization.
Regards
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=11833
- Next message: danbeck <email protected>: "[PHP-DOC] Bug #11833 Updated: Unsufficient docs"
- Previous message: goba <email protected>: "[PHP-DOC] Bug #11833 Updated: Unsufficient docs"
- Next in thread: danbeck <email protected>: "[PHP-DOC] Bug #11833 Updated: Unsufficient docs"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

