ID: 31440
Updated by: sniper@php.net
-Summary: GLOBALS array overwritten from GET/POST/COOKIE vars
Reported By: john at jelsoft dot com
-Status: Open
+Status: Verified
Bug Type: Scripting Engine problem
Operating System: *
PHP Version: 4CVS, 5CVS (2005-02-15)
New Comment:
Here are some patches I wrote to fix this:
For PHP_4_3 branch:
http://www.php.net/~jani/patches/bug31440.php_4_3_patch
For HEAD branch:
http://www.php.net/~jani/patches/bug31440.php_HEAD_patch
Previous Comments:
------------------------------------------------------------------------
[2005-02-01 20:09:52] john at jelsoft dot com
Bug still remains in build dated Feb 1 2005 14:12:59.
------------------------------------------------------------------------
[2005-02-01 19:06:15] sniper@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php5-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php5-win32-latest.zip
------------------------------------------------------------------------
[2005-01-21 11:57:10] john at jelsoft dot com
To reply to Iliaa, since my earlier comment was removed: this isn't
fixed in 200501210530 build. To reproduce, you need to turn
register_globals on.
------------------------------------------------------------------------
[2005-01-19 00:53:31] iliaa@php.net
Works fine with latest CVS.
------------------------------------------------------------------------
[2005-01-18 19:50:36] john at jelsoft dot com
I have just downloaded the latest snapshot and the bug remains. Build
date from my phpinfo() is Jan 18 2005 14:14:51.
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/31440--
Edit this bug report at http://bugs.php.net/?id=31440&edit=1