ID: 13606 Updated by: yohgaki Reported By: [EMAIL PROTECTED] Status: Open Old Bug Type: Scripting Engine problem Bug Type: Documentation problem Operating System: Linux+Apache 1.3.20+PHP (DSO) PHP Version: 4.0.6 New Comment:
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.. Previous Comments: ------------------------------------------------------------------------ [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, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]