ID:               41679
 Updated by:       [EMAIL PROTECTED]
 Reported By:      denis_test at freemail dot ru
-Status:           Bogus
+Status:           Open
 Bug Type:         PHP options/info functions
 Operating System: FreeBSD 6.2-RELEASE-p3
 PHP Version:      5.2.3
 New Comment:

And now I misread the results. :D


Previous Comments:
------------------------------------------------------------------------

[2007-06-14 19:03:43] [EMAIL PROTECTED]

You propably misunderstood how it works, it's the opposite:
http://www.php.net/manual/en/ini.core.php#ini.variables-order

"..for example if variables_order is set to "EGPCS", register_globals
is enabled, and both $_GET['action'] and $_POST['action'] are set, then
$action will contain the value of $_POST['action'] as P comes after
G.."


------------------------------------------------------------------------

[2007-06-14 08:12:27] denis_test at freemail dot ru

You say: "Env is parsed first, so no wonder it gets overwritten by GET
that is parsed second."

But I am sorry, my situation is direct opposite. As you can see GET is
overwritten by Env.

------------------------------------------------------------------------

[2007-06-13 12:28:30] denis_test at freemail dot ru

Description:
------------
Configuration:
variables_order         EGPCS
register_globals        On

Environment variable HOME is set to "/".
I start script with test.php?HOME=test

Reproduce code:
---------------
<?
echo $HOME;
?>

Expected result:
----------------
test

Actual result:
--------------
/


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=41679&edit=1

Reply via email to