回复:Re: [PHP] about session
| From: | bitblackbug at sohu dot com | Date: | Sat, 23 Apr 2005 11:06:41 +0000 |
| Subject: | 回复:Re: [PHP] about session | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-213719@lists.php.net to get a copy of this message | ||
Dear Devraj,
thank you!
that 's say I must session_register at fitst ,and use $_SESSION['time'] at secoend?
and How can i get the value of the form's element?
just use $time ?
now I have a form named form1 in file1.php , whose active="file1.php",in form1,it have a
text input .
how can i get the text input's value when the submit button 's clicked?
From: Devraj Mukherjee
To: bitblackbug@sohu.com
Subject: Re: [PHP] about session
Sent: Sat Apr 23 18:19:14 CST 2005
>
> $_SESSION['time'] accesses or sets the value of the session variable
> time once its has been registered by session_register.
>
> In short, you should use session_register to regiter the variable before
> you use it.
>
> Devraj
>
> bitblackbug@sohu.com wrote:
> > hi,everyone.
> > can someone tell me the differences between the $_SESSION['time'] and
> > session_register.
> > thanks
> >
> > ------------------------------------------------------------------------
> > <http://goto.sohu.com/goto.php3?code=mailadt-ta>
> >
> >
>
>
> --
> Devraj Mukherjee (devraj@eternitytechnologies.com)
> Eternity Technologies Pty. Ltd. ACN 107 600 975
> P O Box 5949 Wagga Wagga NSW 2650 Australia
> Voice: +61-2-69717131 / Fax: +61-2-69251039
> http://www.eternitytechnologies.com/
>
>