Thank you
I changed ini file and created temp directory, it worked fine.
I could catch the value that is assigned directly in following 3 pages. Now I tried with form elements. ?But I failed.
ex:
page1.php
<?
session_start();
session_register("form1_val");
$form1_val= array($id_1,$id_2,$id_3);
....
?>
...<FORM METHOD="post" name="entry1" ACTION="page2.php"
onsubmit="return chkfield(this);">
value1:<INPUT TYPE="text" NAME="id_1"><br>
value2:<INPUT TYPE="text"NAME="id_2"><br>
value3:<INPUT TYPE="text"NAME="id_3"><br>
...
page2.php
<?
session_start();
echo $form1_val['id_1'];
echo $form1_val['id_2'];
echo $form1_val['id_3'];
session_register("form2_val");
$form2_val= array($id_1,$id_2);
....
?>
...<FORM METHOD="post" name="entry2" ACTION="page3.php" >
value1:<INPUT TYPE="text" NAME="id_1"><br>
value2:<INPUT TYPE="text"NAME="id_2"><br>
...
page3.php
<?
session_start();
echo $form1_val['id_1'];
echo $form1_val['id_2'];
echo $form1_val['id_3'];
echo $form2_val['id_1'];
echo $form2_val['id_2'];
....
?>
........
If you get the picture, nowhere I could catch or display the values. I am able to catch them directly as $id_1 in next page as I am posting them, but not thru' the session variable. I could use hidden type and catch them in following page, but I want to have them in array as they are in variable number of form element values, I couldn't know howmany in the beginning except the maximum
number of input fields.
I tried initializing session in page2 also as some of the variables already available. but no use.
Any help is appreciated.
Thanks
- Satya