note 54216 added to reserved.variables
| From: | notes at arbee dot co dot uk | Date: | Mon, 27 Jun 2005 14:14:43 +0000 |
| Subject: | note 54216 added to reserved.variables | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-91024@lists.php.net to get a copy of this message | ||
Note that $_SERVER['QUERY_STRING'] behaves differently under IIS/Apache.
In Apache (at least on Windows) it is ALWAYS set - if no query string was specified in the URL,
$_SERVER['QUERY_STRING'] is initialised as an empty string.
In IIS, if no query string is included in the URL, $_SERVER['QUERY_STRING'] is NOT SET, so
trying to access it without checking for its existence will generate notices.
----
Manual Page -- http://www.php.net/manual/en/reserved.variables.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+54216
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+54216&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+54216&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+54216&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+54216&report=yes&reason=useless
Delete: non-english -- http://master.php.net/manage/user-notes.php?action=delete+54216&report=yes&reason=non-english
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+54216&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+54216&report=yes
Search -- http://master.php.net/manage/user-notes.php