From b2ae70c4949c47eb05b1de06da67010bb72073d6 Mon Sep 17 00:00:00 2001 From: Phil Sturgeon Date: Wed, 18 Dec 2013 21:37:08 +0000 Subject: [PATCH] Fixed bug #61303 - $_SERVER['PHP_SELF'] description git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@332466 c90b9560-bf6c-de11-be94-00142212c4b1 --- language/predefined/variables/server.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/language/predefined/variables/server.xml b/language/predefined/variables/server.xml index 52939d6979..cc6c63c252 100644 --- a/language/predefined/variables/server.xml +++ b/language/predefined/variables/server.xml @@ -48,8 +48,8 @@ The filename of the currently executing script, relative to the document root. For instance, $_SERVER['PHP_SELF'] in a script at the - address http://example.com/test.php/foo.bar - would be /test.php/foo.bar. + address http://example.com/foo/bar.php + would be /foo/bar.php. The __FILE__ constant contains the full path and filename of the current (i.e. included) file.