ID:               39450
 User updated by:  patrik dot mayer at i12 dot de
 Reported By:      patrik dot mayer at i12 dot de
-Status:           Feedback
+Status:           Open
 Bug Type:         Unknown/Other Function
 Operating System: SuSE 10, 2.6.13-15.12-smp
 PHP Version:      5.2.0
 New Comment:

Hi again - I've tested some more.

I've tested our installation with the two standard config-files,
php.ini-dist and php.ini-recommended unter php.ini-recommended the
error occurs.

So I tracked the diferences. I you set variables_order = "GPCS" and
register_globals = On  (remember, register_long_arrays is also On). So
if you turn variables_order to EGPCS it works perfect.

Could someone confirm this or did I missunderstand something?

I tried to reproduce it uner PHP 5.2.0 CLI on Windows - all is working
there. Sorry that I dän't have antoher SuSE to test it on - maybe this
week.

Thanks everybody.


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

[2006-11-11 22:37:35] [EMAIL PROTECTED]

I don't see how this is possible looking at the getenv() code.  It
doesn't do any populating of request variables.

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

[2006-11-10 13:18:14] [EMAIL PROTECTED]

I'm still unable to reproduce it, even with register_* On.

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

[2006-11-10 13:04:23] patrik dot mayer at i12 dot de

PS: Tested it the same way with PHP 5.1.6 and there no wrong behavior.

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

[2006-11-10 13:03:21] patrik dot mayer at i12 dot de

I've done a little bit more testing - sorry that I have'nt done this
before.

It seems that on our development Server register_globals is On. So i
turned it off - same result. But in second stage i realized that
register_long_arrays is also On. Turned this Off too and it worked.

So, if register_globals OR register_long_arrays is On getenv() writes
the catched environment-variables to the $_POST-Array.

Thanks for your patience.

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

[2006-11-10 09:48:58] [EMAIL PROTECTED]

I don't think anybody else can confirm this, as it sounds .. well..
like a pure nonsense.
Please rebuild PHP and try on another machine.

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

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

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

Reply via email to