Bug #11833 Updated: Unsufficient docs
| From: | M dot Izydorski at rubikon dot pl | Date: | Mon, 02 Jul 2001 11:13:34 +0000 |
| Subject: | Bug #11833 Updated: Unsufficient docs | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-58673@lists.php.net to get a copy of this message | ||
ID: 11833
User Update by: M.Izydorski@rubikon.pl
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@php.net
$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@rubikon.pl
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