ID:               13606
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
-Status:           Open
+Status:           Closed
 Bug Type:         Documentation problem
 Operating System: Linux+Apache 1.3.20+PHP (DSO)
 PHP Version:      4.0.6
 New Comment:

Fixed in docs, will appear in a day or two...



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

[2001-12-14 13:49:08] [EMAIL PROTECTED]

Type = Documentation Problem.

When test.php is a script, $PHP_SELF === /test.php/some_string
http://example.com/test.php/some_string

Document should descript this behavior..


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

[2001-10-08 23:55:32] [EMAIL PROTECTED]

The docs says that $PHP_SELF contains "The filename of the currently
executing script, relative to the document root." However, if one uses
additional PATH_INFO data in the URL, they get inserted on $PHP_SELF as
well.

Example script: <?= $PHP_SELF ?>

http://example.org/example.php
        prints "/example.php"

http://example.org/example.php/foobar.html
        prints "/example.php/foobar.html"

If this is not a bug in PHP then the docs may need to be updated.

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


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


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to