#23013 [Fbk->Csd]: Wrong variables registered from POST / GET
| From: | sniper@php.net | Date: | Wed, 02 Apr 2003 11:55:53 +0000 |
| Subject: | #23013 [Fbk->Csd]: Wrong variables registered from POST / GET | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-36965@lists.php.net to get a copy of this message | ||
ID: 23013
Updated by: sniper@php.net
Reported By: bugs dot php dot net at doller dot dk
-Status: Feedback
+Status: Closed
Bug Type: Variables related
Operating System: SunOS webserver1 5.8
PHP Version: 4.3.1
New Comment:
This was already fixed in CVS.
Previous Comments:
------------------------------------------------------------------------
[2003-04-02 05:52:19] magnus@php.net
Requested feedback.
------------------------------------------------------------------------
[2003-04-02 04:43:04] moriyoshi@php.net
This should be fixed in 4.3.2.
(Maybe dupe of bug #22733)
------------------------------------------------------------------------
[2003-04-02 04:35:55] bugs dot php dot net at doller dot dk
I down-graded to 4.2.3 so now I don't have the problem anymore, but
thank's anyway.
Just wanted to report it... :)
------------------------------------------------------------------------
[2003-04-02 04:28:36] moriyoshi@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php4-STABLE-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php4-win32-STABLE-latest.zip
------------------------------------------------------------------------
[2003-04-02 04:24:16] bugs dot php dot net at doller dot dk
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 this bug report at http://bugs.php.net/?id=23013&edit=1