#41679 [Opn->Csd]: variables_order parameter is ignored

From: Date: Sun, 17 Jun 2007 08:51:02 +0000
Subject: #41679 [Opn->Csd]: variables_order parameter is ignored
References: 1  Groups: php.doc 
Request: Send a blank email to phpdoc+get-969376749@lists.php.net to get a copy of this message
ID: 41679 Updated by: gwynne@php.net Reported By: denis_test at freemail dot ru -Status: Open +Status: Closed Bug Type: Documentation problem Operating System: FreeBSD 6.2-RELEASE-p3 PHP Version: 5.2.3 New Comment: This bug has been fixed in the documentation's XML sources. Since the online and downloadable versions of the documentation need some time to get updated, we would like to ask you to be a bit patient. Thank you for the report, and for helping us make our documentation better. Previous Comments: ------------------------------------------------------------------------ [2007-06-15 08:41:51] sniper@php.net Okay, I'm reclassifying this, the docs need some comment about this issue. ------------------------------------------------------------------------ [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] sniper@php.net 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] sniper@php.net And now I misread the results. :D ------------------------------------------------------------------------ [2007-06-14 19:03:43] sniper@php.net 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.." ------------------------------------------------------------------------ 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

« previous php.doc (#969376749) next »