php-general | 2001122
Date: 12/26/01
- Next message: phantom: "[PHP] Reverse effect of htmlspecialchars"
- Previous message: David: "Re: Re: [PHP] 4.10 New Vars Question"
- In reply to: David: "Re: Re: [PHP] 4.10 New Vars Question"
- Maybe reply: David: "Re: Re: Re: [PHP] 4.10 New Vars Question"
- Reply: Edward Marczak: "Re: [PHP] 4.10 New Vars Question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
> hmm, now that i\'m trying to program with register_globals=off, what
> is the new $HTTP_SESSION_VARS?
$HTTP_SESSION_VARS works, as will $_SESSION (after 4.1.0). These
"special" PHP variables are described in the manual:
http://www.php.net/manual/en/language.variables.predefined.php
Some words specific to $_SESSION are available within here:
http://www.php.net/release_4_1_0.php
An excerpt:
Another neat trick is that creating new entries in the $_SESSION array
will automatically register them as session variables, as if you called
session_register(). This trick is limited to the session module only - for
example, setting new entries in $_ENV will *not* perform an implicit
putenv().
> maybe there should be a page in the online manual describing these new
> variables for easy reference after all, i can\'t find reference to
> them other than those on the changelog too.
The new vars will be listed and described in the manual eventually (fairly
soon). For now, read the above release notes.
Regards,
Philip Olson
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe <email protected> For additional commands, e-mail: php-general-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: phantom: "[PHP] Reverse effect of htmlspecialchars"
- Previous message: David: "Re: Re: [PHP] 4.10 New Vars Question"
- In reply to: David: "Re: Re: [PHP] 4.10 New Vars Question"
- Maybe reply: David: "Re: Re: Re: [PHP] 4.10 New Vars Question"
- Reply: Edward Marczak: "Re: [PHP] 4.10 New Vars Question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

