Document PATH_INFO (at least, the basics).

Partially addresses bug #46820, although more information on the
history of PATH_INFO is needed. And ORIG_PATH_INFO remains to be
documented.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@288189 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Torben Wilson 2009-09-09 07:37:10 +00:00
parent 67b72af27e
commit add3853e65

View file

@ -471,6 +471,21 @@
</listitem>
</varlistentry>
<varlistentry>
<term>'<varname>PATH_INFO</varname>'</term>
<listitem>
<simpara>
Contains any client-provided pathname information trailing the
actual script filename but preceding the query string, if
available. For instance, if the current script was accessed via
the
URL <filename>http://www.example.com/php/path_info.php/some/stuff?foo=bar</filename>,
then <varname>$_SERVER['PATH_INFO']</varname> would
contain <literal>/some/stuff</literal>.
</simpara>
</listitem>
</varlistentry>
</variablelist>
</para>
</refsect1>