#39293 [Fbk->Bgs]: no GET variables available if one of them is empty
| From: | tony2001@php.net | Date: | Mon, 30 Oct 2006 08:42:54 +0000 |
| Subject: | #39293 [Fbk->Bgs]: no GET variables available if one of them is empty | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-104165@lists.php.net to get a copy of this message | ||
ID: 39293
Updated by: tony2001@php.net
Reported By: mcalpine at susysearch dot co dot za
-Status: Feedback
+Status: Bogus
Bug Type: Unknown/Other Function
Operating System: redhat
PHP Version: 4.4.4
New Comment:
Not PHP problem -> bogus.
Previous Comments:
------------------------------------------------------------------------
[2006-10-30 02:44:15] scottmacvicar at ntlworld dot com
This is a bug in suPHP that we see quite often with customers.
Nothing to do with PHP itself.
------------------------------------------------------------------------
[2006-10-29 00:00:10] tony2001@php.net
Thank you for this bug report. To properly diagnose the problem, we
need a short but complete example script to be able to reproduce
this bug ourselves.
A proper reproducing script starts with <?php and ends with ?>,
is max. 10-20 lines long and does not require any external
resources such as databases, etc. If the script requires a
database to demonstrate the issue, please make sure it creates
all necessary tables, stored procedures etc.
Please avoid embedding huge scripts into the report.
Can't reproduce.
------------------------------------------------------------------------
[2006-10-28 22:23:43] mcalpine at susysearch dot co dot za
Description:
------------
if a url is sent with one or more of the query variable values empty,
eg: index.php?hello=yes&goodbye= , the whole $_GET global is emtpy and
the $_SERVER['REQUEST_URI'] is emtpy too.
as soon as you send a value for all query variables, the GET and SERVER
variables have data.
Reproduce code:
---------------
just try var_dump($_GET)...
or echo $_SERVER['REQUEST_URI'];
Expected result:
----------------
i would expect to see the url query variables...
Actual result:
--------------
described above.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=39293&edit=1