SESSION and POST/GET
Posted: Wed Jan 15, 2003 6:39 pm
Since PHP 4.2+ have the register_globals set to off, and I have an application that I am trying to build that needs to register the variables within the POST/GET'd variables...
for example, if I am trying to do the following:
Now I want to register the value in the $imrsys['name'} as a SESSION Variable, now... How do i do that? (Since there are more then one variable that I want to register to the session_register...
And How would I "recall" it in the subsequent pages of scripts?
would i (to register):
THank you for your help
for example, if I am trying to do the following:
Code: Select all
<form name=imrsys action=Post>
Name: <input type = text name=name value=<?echo $imrsysї'name']?>
MemberType: ..... etc)
</form>And How would I "recall" it in the subsequent pages of scripts?
would i (to register):
- 1. - $session_register ('_POST')
2. - $session_register ('imrsys')
3. - $session_register ('imrsys[]')
4. - $session_register ('_POST[imrsys]')
THank you for your help