#28711 [Com]: $QUERY_STRING is define with null instead of stay undefine when no query string
| From: | schindler dot kimberly at yahoo dot com | Date: | Thu, 29 Nov 2007 16:46:33 +0000 |
| Subject: | #28711 [Com]: $QUERY_STRING is define with null instead of stay undefine when no query string | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-120219@lists.php.net to get a copy of this message | ||
ID: 28711
Comment by: schindler dot kimberly at yahoo dot com
Reported By: sikachu at beezone dot net
Status: No Feedback
Bug Type: Unknown/Other Function
Operating System: Windows 2000
PHP Version: 5.0.0RC3
New Comment:
the truth
Previous Comments:
------------------------------------------------------------------------
[2005-01-22 01:00:10] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
------------------------------------------------------------------------
[2005-01-15 00:10:43] tony2001@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php5-STABLE-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php5.0-win32-latest.zip
------------------------------------------------------------------------
[2004-06-18 15:04:28] sikachu at beezone dot net
Looks like nobody else got a same problem and also no staff come to
this topic regarding this bug. I'm fine right now with using empty()
instead isset(). So, I may close this one after a while.
I really want somebody to have a same environment (PHP5 ISAPI + IIS5)
and test with me. I want to see that we got the same result or not
------------------------------------------------------------------------
[2004-06-11 01:24:59] imprestavel at gameguru dot com dot br
Sorry...
I meant i tested with both (4.3.7 and 5RC3) *CGI versions* with
register_globals On and Off (under Apache2)
------------------------------------------------------------------------
[2004-06-11 01:20:18] imprestavel at gameguru dot com dot br
Tested with both (4.3.7 and 5RC3) with register_globals On and Off (on
both) and they all had the same behavior
Maybe its some weird thing between php and the server...
Your 4.3.7 server is running IIS5, right?
Maybe it only passes query string to cgi if its not empty...
In that case, the only reason why your script works(while it shouldnt),
is because IIS works how it shouldnt hehe
Anyway, i think you should change isset to empty for cases like the one
you described
But lets wait for someone from the staff to reply...
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/28711
--
Edit this bug report at http://bugs.php.net/?id=28711&edit=1