php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #19412 Users can change $_SERVER Vars
Submitted: 2002-09-15 00:01 UTC Modified: 2002-09-15 03:11 UTC
From: sven at darkman dot de Assigned:
Status: Not a bug Package: Feature/Change Request
PHP Version: 4.2.3 OS: Linux
Private report: No CVE-ID: None
 [2002-09-15 00:01 UTC] sven at darkman dot de
I found that users may change Vars in the $_SERVER (and all
other arrays used by PHP). I don't think that a User should
be able to change such Variables. Comments?

Patches

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-09-15 02:31 UTC] mfischer@php.net
Please provide an example what you mean exactly.
 [2002-09-15 03:11 UTC] derick@php.net
Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to report
a bug at http://bugs.php.net/how-to-report.php

The $_server array is just filled at start up, you can do whatever you want with it in your script.
Of course this will never modify the \'real\' server variables and they will be reset in a request for a new script.

Derick
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Sep 06 15:01:28 2024 UTC