|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #9547 variables_order = "EGPCS" is messed up
Submitted: 2001-03-04 13:13 UTC Modified: 2001-03-05 11:28 UTC
From: fippu at fippu dot ch Assigned:
Status: Closed Package: PHP options/info functions
PHP Version: 4.0.4pl1 OS: Linux
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Bug Type:
From: fippu at fippu dot ch
New email:
PHP Version: OS:


 [2001-03-04 13:13 UTC] fippu at fippu dot ch
I set 
 variables_order = "EGPCS"
but nevertheless, PHP uses the environment variable LANG when I refer to $LANG. So, the get/post value is overwritten with the environment value.



Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2001-03-04 17:10 UTC]
I tried with this little script (vars.php):

<?php echo $LANG;?>
<form action="vars.php" method="post">
<input type="text" name="LANG">
<input type="submit">

and it works like it should. ie. When loaded without posting,
the LANG is en_US, and when I post that form, it's set whatever
I type in the input field. Is this what you meant here?


 [2001-03-05 11:28 UTC] fippu at fippu dot ch
This must have been an error in my script. The variable was not overwritten, because in some cases the script did not assign it a value. Thank you and sorry.
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Tue Jul 27 16:01:23 2021 UTC