From:             r_brenart at yahoo dot com
Operating system: Win2k Professional
PHP version:      4.3.1
PHP Bug Type:     Feature/Change Request
Bug description:  isset result strange on $_SERVER["QUERY_STRING"]

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 bug report at http://bugs.php.net/?id=22537&edit=1
-- 
Try a CVS snapshot:         http://bugs.php.net/fix.php?id=22537&r=trysnapshot
Fixed in CVS:               http://bugs.php.net/fix.php?id=22537&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=22537&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=22537&r=needtrace
Try newer version:          http://bugs.php.net/fix.php?id=22537&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=22537&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=22537&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=22537&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=22537&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=22537&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=22537&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=22537&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=22537&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=22537&r=gnused

Reply via email to