回复:Re: [PHP] about session

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxx 
Subject: Re:  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@xxxxxxxx wrote:
> > hi,everyone.
> > can someone tell me the differences between the $_SESSION['time'] and session_register.
> > thanks
> > 
> > ------------------------------------------------------------------------
> > 
> > 
> > 
> 
> 
> -- 
> Devraj Mukherjee (devraj@xxxxxxxxxxxxxxxxxxxxxxxx)
> 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/
> 
> 


ÉÁµçÓʼþ£¬¿ìËÙÎȶ¨£¬°²È«¿É¿¿£¡£¡
ÓÐÎÒΪÄ㵲סÀ¬»øÓʼþ£¡

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux