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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
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

Pull Requests

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-2025 The PHP Group
All rights reserved.
Last updated: Wed Jan 15 08:01:29 2025 UTC