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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
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.

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-2019 The PHP Group
All rights reserved.
Last updated: Tue Nov 19 01:01:39 2019 UTC