Re: Why use session_register()?
| From: | Daniel Brown | Date: | Mon, 10 Mar 2008 16:15:53 +0000 |
| Subject: | Re: Why use session_register()? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-271209@lists.php.net to get a copy of this message | ||
On Mon, Mar 10, 2008 at 12:08 PM, Lamonte H <php4food@gmail.com> wrote:
> Is it necessary to use session_register()? What exactly was the point of
> this function if you can set sessions using $_SESSION it self?
>
RTFM: http://php.net/session-register.php
It's the old way of doing it, and will only work with
register_globals on anyway. It also depends on how antiquated the
version of PHP is that you're using.
--
</Dan>
Daniel P. Brown
Senior Unix Geek
<? while(1) { $me = $mind--; sleep(86400); } ?>