#24883 [Asn->Csd]: variables_order won't work as expected
ID: 24883
Updated by: iliaa@php.net
Reported By: seba at iq dot pl
-Status: Assigned
+Status: Closed
Bug Type: Variables related
Operating System: rh9
PHP Version: 4.3.3RC2
Assigned To: iliaa
New Comment:
This bug has been fixed in CVS.
In case this was a PHP problem, snapshots of the sources are packaged
every three hours; this change will be in the next snapshot. You can
grab the snapshot at http://snaps.php.net/.
In case this was a documentation problem, the fix will show up soon at
http://www.php.net/manual/.
In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites in short time.
Thank you for the report, and for helping us make PHP better.
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
Thread (3 messages)