Re: a question, need an answer
| From: | Justin French | Date: | Sun, 22 Jun 2003 09:33:32 +0000 |
| Subject: | Re: a question, need an answer | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-152438@lists.php.net to get a copy of this message | ||
I think you mean:
$_SESSION['eventid'] = 'arma2';
vs
$eventid = 'arma2';
session_register('eventid');
I'd advise the first, unless you need to ensure backwards compatibility with
PHP < 4.1
Justin
on 22/06/03 4:41 PM, nabil (nabil.attar@aws-syria.com) wrote:
> what is the diffirent between :
> //////////
> session_start ();
> $_SESSION['eventid'] = 'arma2';
> ///////////
> and
> /////////////
> session_start ();
> session_register('arama2');
> ///////////
>
> Regards
> Nabil
>
> --
> ""open source world, open mind for all""
>
>