#24883 [Opn->Asn]: variables_order won't work as expected
| From: | iliaa@php.net | Date: | Thu, 31 Jul 2003 19:58:06 +0000 |
| Subject: | #24883 [Opn->Asn]: variables_order won't work as expected | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-45140@lists.php.net to get a copy of this message | ||
ID: 24883
Updated by: iliaa@php.net
Reported By: seba at iq dot pl
-Status: Open
+Status: Assigned
Bug Type: Variables related
Operating System: rh9
PHP Version: 4.3.3RC2
-Assigned To:
+Assigned To: iliaa
Previous Comments:
------------------------------------------------------------------------
[2003-07-31 08:47:27] seba at iq dot pl
Description:
------------
; Registration is done from left to right, newer
; values override older values.
variables_order = "EGPCS"
register_globals = On
Reproduce code:
---------------
start page - x.html:
<form action='x.php?asd=xxx' method='post'>
<input name='asd' type='text' value='yyy'>
<input name='' type='submit' >
</form>
x.php:
<? echo $asd; ?>
Expected result:
----------------
should be 'yyy'
Actual result:
--------------
result is 'xxx'
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=24883&edit=1