note 19228 added to ref.session

From: Date: Wed, 20 Feb 2002 10:49:56 +0000
Subject: note 19228 added to ref.session
Groups: php.notes 
Request: Send a blank email to php-notes+get-26836@lists.php.net to get a copy of this message
There's another good reason to use $HTTP_SESSION_VARS or $_SESSION rather than relying on the global variables: an administrator could change the php.ini directive "variable_order". Although changing it would be strange, it would suddenly change the behavior of your PHP code. Arjan. http://www.php.net/manual/en/configuration.php#ini.variables-order variables_order string Set the order of the EGPCS (Environment, GET, POST, Cookie, Server) variable parsing. The default setting of this directive is "EGPCS". Setting this to "GP", for example, will cause PHP to completely ignore environment variables, cookies and server variables, and to overwrite any GET method variables with POST-method variables of the same name. -- http://www.php.net/manual/en/ref.session.php http://master.php.net/manage/user-notes.php?action=edit+19228 http://master.php.net/manage/user-notes.php?action=delete+19228 http://master.php.net/manage/user-notes.php?action=reject+19228

« previous php.notes (#26836) next »