[PHP-DOC] Bug #11833 Updated: Unsufficient docs

2001-07-02 Thread M . Izydorski

ID: 11833
User Update by: [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] [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] [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




[PHP-DOC] Bug #11833: Unsufficient docs

2001-07-02 Thread M . Izydorski

From: [EMAIL PROTECTED]
Operating system: any
PHP version:  4.0.6
PHP Bug Type: Documentation problem
Bug description:  Unsufficient docs

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


-- 
Edit Bug report at: http://bugs.php.net/?id=11833&edit=1