#23744 [Com]: $_REQUEST no more includes $_GET variables?
| From: | michael dot mauch at gmx dot de | Date: | Wed, 21 May 2003 22:38:39 +0000 |
| Subject: | #23744 [Com]: $_REQUEST no more includes $_GET variables? | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-40168@lists.php.net to get a copy of this message | ||
ID: 23744
Comment by: michael dot mauch at gmx dot de
Reported By: i dot thierack at iwt-promotion dot net
Status: Assigned
Bug Type: URL related
Operating System: Debian 3.0
PHP Version: 4.3.2RC3
Assigned To: iliaa
New Comment:
The problem appears only with numeric argument names:
test.php?123=45 =>
_REQUEST: Array
(
[0] => 45
)
_GET: Array
(
[123] => 45
)
test.php?a123=45 =>
_REQUEST: Array
(
[a123] => 45
)
_GET: Array
(
[a123] => 45
)
Previous Comments:
------------------------------------------------------------------------
[2003-05-21 16:59:06] sniper@php.net
This was broken by another fix related to $_REQUEST.
Assigned to Ilia who broke it. :)
------------------------------------------------------------------------
[2003-05-21 16:20:31] i dot thierack at iwt-promotion dot net
Hello,
following problem with 4.3.2RC3 (it works with 4.3.1)
Browser URL :
http://intraddms/fiatbearb/adr_index.php?1234567890
var_dump from $_REQUEST
array(2) { [0]=> string(1) "0" ["PHPSESSID"]=> string(32)
"3f8ee06297a919da9d84cd713473fe5d" }
if have a query like
if(!isset($_REQUEST["1234567890"]){ << BUG? it's alway true
initialize some variables
}
if i replace it with $_GET it works. Switch back to 4.3.1 it works also
with $_REQUEST
regards
Ingo Thierack
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=23744&edit=1