ID:               22537
 User updated by:  r_brenart at yahoo dot com
 Reported By:      r_brenart at yahoo dot com
 Status:           Bogus
 Bug Type:         Feature/Change Request
 Operating System: Win2k Professional
 PHP Version:      4.3.1
 New Comment:

Yes, used empty as the workaround, still figured it was incorrect
behavior.


Previous Comments:
------------------------------------------------------------------------

[2003-03-04 19:44:03] [EMAIL PROTECTED]

Never heard of 'empty()' ? And it's Apache2 that is doing this..


------------------------------------------------------------------------

[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

Reply via email to