From:             bugs dot php dot net at doller dot dk
Operating system: SunOS webserver1 5.8
PHP version:      4.3.1
PHP Bug Type:     Variables related
Bug description:  Wrong variables registered from POST / GET

When posting etc. the following from a form:

mod = "ret_kode"
username = "admin"
password1 = "admin"
password2 = "admin"

My $_POST array looks like this:

$_POST["mod"] = "ret_kode"
$_POST["username"] = "admin"
$_POST["password1"] = "admin"
$_POST["password2"] = "admin"

But since I have register_globals = "on", I should be able to get the
variables without using $_POST, but the variables look like this:

$mod = "ret_kode&username=admin&password1=admin&password2=admin"
$username = "admin"
$password1 = "admin"
$password2 = "admin"

In version 4.2.3 there's no problem, but as I upgraded to 4.3.1 the
problem came...
-- 
Edit bug report at http://bugs.php.net/?id=23013&edit=1
-- 
Try a CVS snapshot:         http://bugs.php.net/fix.php?id=23013&r=trysnapshot
Fixed in CVS:               http://bugs.php.net/fix.php?id=23013&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=23013&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=23013&r=needtrace
Try newer version:          http://bugs.php.net/fix.php?id=23013&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=23013&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=23013&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=23013&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=23013&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=23013&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=23013&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=23013&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=23013&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=23013&r=gnused

Reply via email to