Re: PHP 4.0 Bug #5548 Updated: session files does not contain value of variable, only the variable name
| From: | Andrei Zmievski | Date: | Wed, 12 Jul 2000 14:18:09 +0000 |
| Subject: | Re: PHP 4.0 Bug #5548 Updated: session files does not contain value of variable, only the variable name | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-24309@lists.php.net to get a copy of this message | ||
On Thu, 13 Jul 2000, PHP Developers wrote:
> ID: 5548
> User Update by: japj@darius.demon.nl
> Old-Status: Analyzed
> Status: Closed
> Bug Type: Session related
> Description: session files does not contain value of variable, only the variable name
>
> ok, I forgot to set register_globals to "On" in the php.ini, but I'm not sure if
> this is mentioned in the readme/documentation
>
> php.ini comment about register_globals:
> ; Whether or not to register the EGPCS variables as global
> ; variables. You may want to turn this off if you don't want
> ; to clutter your scripts' global scope with user data. This makes
> ; most sense when coupled with track_vars - in which case you can
> ; access all of the GPC variables through the $HTTP_*_VARS[],
> ; variables.
When register_globals is Off, the source for session variables is
$HTTP_SESSION_VARS array, not the global symbol table.
-Andrei
Linux is like living in a teepee.
No Windows, no Gates, Apache in house.
- Usenet signature