a need a code with session_register("var_name"); , it creates a file, but the file is 0k. Where is the problem, Why I can't get the var_name. "var_name" is the name of an input_text into a previous POST form.
thx...
session_register() problem
Moderator: General Moderators
-
malcolmboston
- DevNet Resident
- Posts: 1826
- Joined: Tue Nov 18, 2003 1:09 pm
- Location: Middlesbrough, UK
Code: Select all
session_register("var_name")
$_SESSION['var_name'] = $_POST['var_name'];- shiznatix
- DevNet Master
- Posts: 2745
- Joined: Tue Dec 28, 2004 5:57 pm
- Location: Tallinn, Estonia
- Contact:
you don't need to user session_register(); just do or somthing similar
Code: Select all
$_SESSION['thing'] = $_POST['thing'];-
malcolmboston
- DevNet Resident
- Posts: 1826
- Joined: Tue Nov 18, 2003 1:09 pm
- Location: Middlesbrough, UK
then on the next page remeber to use
Code: Select all
session_start();- Chris Corbyn
- Breakbeat Nuttzer
- Posts: 13098
- Joined: Wed Mar 24, 2004 7:57 am
- Location: Melbourne, Australia