ID:               26429
 Updated by:       [EMAIL PROTECTED]
 Reported By:      skissane at ics dot mq dot edu dot au
-Status:           Assigned
+Status:           Closed
 Bug Type:         Documentation problem
 Operating System: Linux
 PHP Version:      4.3.4
 Assigned To:      kennyt
 New Comment:

Noted the case.

I was waiting for my test copy (http://php.kennyt.com/
manual) to build. That's what the question was about. 
:)


Previous Comments:
------------------------------------------------------------------------

[2004-01-01 17:46:02] [EMAIL PROTECTED]

Is it fixed in CVS or not? If it is -> Close the bug. And no you can't
build one page in the manual (nor do we want to do that as it's too
much work for every little change)

------------------------------------------------------------------------

[2004-01-01 17:39:07] [EMAIL PROTECTED]

I've written a note to tag under the element's 
description. Waiting for the manual to build now... (Is 
there a way to rebuild just one page? :)

------------------------------------------------------------------------

[2003-12-15 14:58:18] [EMAIL PROTECTED]

Rasmus: The documentation already states that you can't trust the
$_SERVER values: "There is no guarantee that every webserver will
provide any of these; servers may omit some, or provide others not
listed here."

However, skissane is correct. SCRIPT_FILENAME does return the relative
path in the CLI version. The question is, should the code be fixed to
make it absolute, or should the documentation have a note appended
saying that it's not absolute in the CLI version?

------------------------------------------------------------------------

[2003-11-27 01:48:21] skissane at ics dot mq dot edu dot au

rasmus wrote:
"The docs should be modified to reflect the fact that all server
variables except PHP_SELF, argc and argv are set by the web server and
PHP has absolutely no control over their values"

Not true -- As I said, I am using PHP-CLI. No webserver involved at
all. Of course PHP has control over them all when running using the CLI
sapi (excluding of course any brought in from the environment...)

------------------------------------------------------------------------

[2003-11-26 23:55:14] [EMAIL PROTECTED]

The docs should be modified to reflect the fact that all server
variables except PHP_SELF, argc and argv are set by the web server and
PHP has absolutely no control over their values.  While Apache sets
them to one thing, another server may set them to another, and there
may be differences between the server module version and the CGI
interface to any of these web servers.

------------------------------------------------------------------------

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/26429

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

Reply via email to