svn: /phpdoc/en/trunk/language/predefined/variables/ server.xml

From: Date: Wed, 09 Sep 2009 07:37:10 +0000
Subject: svn: /phpdoc/en/trunk/language/predefined/variables/ server.xml
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-4881@lists.php.net to get a copy of this message
torben Wed, 09 Sep 2009 07:37:10 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=288189 Log: 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. Bug: http://bugs.php.net/46820 (Verified) $_SERVER['PATH_INFO'] is not documented Changed paths: U phpdoc/en/trunk/language/predefined/variables/server.xml Modified: phpdoc/en/trunk/language/predefined/variables/server.xml =================================================================== --- phpdoc/en/trunk/language/predefined/variables/server.xml 2009-09-09 07:31:53 UTC (rev 288188) +++ phpdoc/en/trunk/language/predefined/variables/server.xml 2009-09-09 07:37:10 UTC (rev 288189) @@ -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>

« previous php.doc.cvs (#4881) next »