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

2002-01-02 Thread imajes

ID: 11833
Updated by: imajes
Reported By: [EMAIL PROTECTED]
Old Status: Open
Status: Closed
Bug Type: Documentation problem
Operating System: any
PHP Version: 4.0.6
Assigned To: danbeck
New Comment:

No feedback.

Previous Comments:


[2001-07-03 10:28:12] [EMAIL PROTECTED]

Assigning this to myself. (I must love the pain...)



[2001-07-02 10:21:56] [EMAIL PROTECTED]

It's very hard to understand what you are saying... please forgive us if we don't 
quite get your point.

Are you saying that the documentation is not clear as to which variables you can 
access using the $HTTP_ENV_VARS and $HTTP_SERVER_VARS.  If this is what you are 
asking, then please read the 3rd paragraph and the note that follows at:

http://php.net/manual/en/language.variables.predefined.php

The manual can not be an exhaustive resource for all predefined variables.  The best 
way to see exactly what is available to you is the check the output of the phpinfo() 
function.  It describes everthing you would need to know about the PHP environment and 
it's predefined variables in gratuitous detail.

Also, you specifically mention $PHP_SELF.  You say that it's not intuitive to be in 
HTTP_SERVER_VARS?  But it is.. it has noting to do with the system environment 
($HTTP_ENV_VARS), but everything to do with the server environment.  It's the filename 
part of the URI, not the actual filename on the server.



[2001-07-02 07:13:33] [EMAIL PROTECTED]

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?



[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





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


-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




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

2002-01-02 Thread philip

ID: 11833
Updated by: philip
Reported By: [EMAIL PROTECTED]
Status: Closed
Bug Type: Documentation problem
Operating System: any
PHP Version: 4.0.6
Assigned To: danbeck
New Comment:

This is essentially a duplicate, see bug #14472 for a more exaustive report.  Anyone 
want to tackle it? :-)

Regarding #11833, essentially this man page is geared towards register_globals = on 
when it shouldn't be.

Previous Comments:


[2002-01-02 19:42:07] [EMAIL PROTECTED]

No feedback.



[2001-07-03 10:28:12] [EMAIL PROTECTED]

Assigning this to myself. (I must love the pain...)



[2001-07-02 10:21:56] [EMAIL PROTECTED]

It's very hard to understand what you are saying... please forgive us if we don't 
quite get your point.

Are you saying that the documentation is not clear as to which variables you can 
access using the $HTTP_ENV_VARS and $HTTP_SERVER_VARS.  If this is what you are 
asking, then please read the 3rd paragraph and the note that follows at:

http://php.net/manual/en/language.variables.predefined.php

The manual can not be an exhaustive resource for all predefined variables.  The best 
way to see exactly what is available to you is the check the output of the phpinfo() 
function.  It describes everthing you would need to know about the PHP environment and 
it's predefined variables in gratuitous detail.

Also, you specifically mention $PHP_SELF.  You say that it's not intuitive to be in 
HTTP_SERVER_VARS?  But it is.. it has noting to do with the system environment 
($HTTP_ENV_VARS), but everything to do with the server environment.  It's the filename 
part of the URI, not the actual filename on the server.



[2001-07-02 07:13:33] [EMAIL PROTECTED]

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?



[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



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/?id=11833


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


-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




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

2001-07-02 Thread goba

ID: 11833
Updated by: goba
Reported By: [EMAIL PROTECTED]
Status: Open
Bug Type: Documentation problem
Operating system: 
PHP Version: 4.0.6
Assigned To: 
Comments:

$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

Previous Comments:
---

[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

---



ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=11833edit=2


-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP-DEV] Bug #11833 Updated: Unsufficient docs

2001-07-02 Thread Jani Taskinen


Huh? You're wrong here..PHP_SELF is found in HTTP_SERVER_VARS..

--Jani

On 2 Jul 2001 [EMAIL PROTECTED] wrote:

ID: 11833
Updated by: goba
Reported By: [EMAIL PROTECTED]
Status: Open
Bug Type: Documentation problem
Operating system:
PHP Version: 4.0.6
Assigned To:
Comments:

$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

Previous Comments:
---

[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

---



ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=11833edit=2





-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




RE: [PHP-DEV] Bug #11833 Updated: Unsufficient docs

2001-07-02 Thread Hojtsy Gabor
Title: RE: [PHP-DEV] Bug #11833 Updated: Unsufficient docs





 Huh? You're wrong here..PHP_SELF is found in HTTP_SERVER_VARS..


I understand :)


Goba





[PHP-DEV] 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 Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




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

2001-07-02 Thread danbeck

ID: 11833
Updated by: danbeck
Reported By: [EMAIL PROTECTED]
Old-Status: Open
Status: Feedback
Bug Type: Documentation problem
Operating system: 
PHP Version: 4.0.6
Assigned To: 
Comments:

It's very hard to understand what you are saying... please forgive us if we don't 
quite get your point.

Are you saying that the documentation is not clear as to which variables you can 
access using the $HTTP_ENV_VARS and $HTTP_SERVER_VARS.  If this is what you are 
asking, then please read the 3rd paragraph and the note that follows at:

http://php.net/manual/en/language.variables.predefined.php

The manual can not be an exhaustive resource for all predefined variables.  The best 
way to see exactly what is available to you is the check the output of the phpinfo() 
function.  It describes everthing you would need to know about the PHP environment and 
it's predefined variables in gratuitous detail.

Also, you specifically mention $PHP_SELF.  You say that it's not intuitive to be in 
HTTP_SERVER_VARS?  But it is.. it has noting to do with the system environment 
($HTTP_ENV_VARS), but everything to do with the server environment.  It's the filename 
part of the URI, not the actual filename on the server.

Previous Comments:
---

[2001-07-02 07:13:33] [EMAIL PROTECTED]

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?

---

[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

---



ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=11833edit=2


-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]