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

Why?

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-03-04 17:10 UTC] sniper@php.net
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">
</form>

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?

--Jani

 [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-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 02:01:29 2024 UTC