Re: register_globals
| From: | Kevin Stone | Date: | Wed, 14 May 2003 17:25:46 +0000 |
| Subject: | Re: register_globals | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-147619@lists.php.net to get a copy of this message | ||
----- Original Message -----
From: "Dan Joseph" <djoseph@duhq.us>
To: <php-general@lists.php.net>
Sent: Wednesday, May 14, 2003 10:22 AM
Subject: [PHP] register_globals
> Hi All,
>
> In a case where you have register_globals = on, and you are forced to
leave
> it that way, is it possible to just create $_SESSION['...'] variables, or
am
> I going to be stuck using session_register('...') for all my sessions?
> Version 4.1.2
>
> -Dan Joseph
The restriction goes in the oposite direction. If register_globals is OFF
then you cannot use the session_register() function. You can always use the
$_SESSION array regardless of whether register_globals is on or off.
HTH.
Kevin