Fixed bug #61303 - $_SERVER['PHP_SELF'] description

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@332466 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Phil Sturgeon 2013-12-18 21:37:08 +00:00
parent 8ea1f0e33d
commit b2ae70c494

View file

@ -48,8 +48,8 @@
The filename of the currently executing script, relative to
the document root. For instance,
<varname>$_SERVER['PHP_SELF']</varname> in a script at the
address <filename>http://example.com/test.php/foo.bar</filename>
would be <filename>/test.php/foo.bar</filename>.
address <filename>http://example.com/foo/bar.php</filename>
would be <filename>/foo/bar.php</filename>.
The <link linkend="language.constants.predefined">__FILE__</link>
constant contains the full path and filename of the current (i.e.
included) file.