#22537 [Opn->Bgs]: isset result strange on $_SERVER["QUERY_STRING"]
| From: | sniper@php.net | Date: | Wed, 05 Mar 2003 01:44:03 +0000 |
| Subject: | #22537 [Opn->Bgs]: isset result strange on $_SERVER["QUERY_STRING"] | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-34820@lists.php.net to get a copy of this message | ||
ID: 22537
Updated by: sniper@php.net
Reported By: r_brenart at yahoo dot com
-Status: Open
+Status: Bogus
Bug Type: Feature/Change Request
Operating System: Win2k Professional
PHP Version: 4.3.1
New Comment:
Never heard of 'empty()' ? And it's Apache2 that is doing this..
Previous Comments:
------------------------------------------------------------------------
[2003-03-04 10:49:43] r_brenart at yahoo dot com
Am running Apache 2.0.44 so perhaps this is part of the experimental
nature of PHP's support for it.
isset($_SERVER["QUERY_STRING"]) is always returning true, as expected
because even as a blank value it's being put into the $_SERVER array,
whereas this was not happening for me under
Win NT 4.0, IIS 4.0, Apache 4.3.0
<?php
echo "<pre>";
print_r($_SERVER);
echo isset($_SERVER["QUERY_STRING"]);
?>
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=22537&edit=1