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

Okay, I'm reclassifying this, the docs need some comment about this
issue.


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

[2007-06-15 07:00:42] denis_test at freemail dot ru

Yes, phpinfo() says:

Server API      CGI/FastCGI

Now it's clear. Thank you.

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

[2007-06-14 20:12:11] [EMAIL PROTECTED]

Are you by any chance using PHP as CGI/FastCGI binary here?
If so, this is expected, although not documented.
In CGI mode the environment is considered part of $_SERVER variables
too so having that 'S' causes these to be overwritten.


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

[2007-06-14 19:04:19] [EMAIL PROTECTED]

And now I misread the results. :D

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

[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.

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

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/41679

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

Reply via email to