Doc #61303 [NEW]: $_SERVER['PHP_SELF'] description
| From: | pl1 at liscovius dot de | Date: | Tue, 06 Mar 2012 18:17:46 +0000 |
| Subject: | Doc #61303 [NEW]: $_SERVER['PHP_SELF'] description | ||
| Groups: | php.doc.bugs | ||
| Request: | Send a blank email to doc-bugs+get-8028@lists.php.net to get a copy of this message | ||
From:
Operating system:
PHP version: Irrelevant
Package: Documentation problem
Bug Type: Documentation Problem
Bug description:$_SERVER['PHP_SELF'] description
Description:
------------
---
From manual page:
http://www.php.net/reserved.variables.server#refsect1-reserved.variables.server-indices
---
The description of $_SERVER['PHP_SELF'] is ambiguous and differs too
between english and german documentation.
In the example is an url given, but it is a quite bad example.
Is the called script test.php?
Or is the script foo.bar, as the reader must assume when reading the
current description ? (which wouldn't normally call the PHP interpreter..,
unless someone tweaked server/htaccess configuration especially for this
example)
I did my own similiar test and I got 'test.php' with http requests,
regardless what i append in the url /test.php , /test.php/bla, or
/test.php?bla=1
and i got no
/test.php/bla
(english documentation)
or
/test.php/bla/
(as in german php documentation)
--
Edit bug report at https://bugs.php.net/bug.php?id=61303&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=61303&r=trysnapshot54
Try a snapshot (PHP 5.3): https://bugs.php.net/fix.php?id=61303&r=trysnapshot53
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=61303&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=61303&r=fixed
Fixed in SVN and need be documented: https://bugs.php.net/fix.php?id=61303&r=needdocs
Fixed in release: https://bugs.php.net/fix.php?id=61303&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=61303&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=61303&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=61303&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=61303&r=support
Expected behavior: https://bugs.php.net/fix.php?id=61303&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=61303&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=61303&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=61303&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=61303&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=61303&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=61303&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=61303&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=61303&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=61303&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=61303&r=mysqlcfg