$arr is coming out of nowhere, out of clean thin air... That's the direct cause of the error message.
Your OTHER problem is that blindly shoving all POST data into your SESSION is almost certainly a Bad Idea... On Fri, June 1, 2007 2:15 am, Sachin mahajan wrote: > Can anyone clarify this.. > > <?php > /* Warning: Unknown: Your script possibly relies on a session > side-effect which existed until PHP 4.2.3. Please be advised that the > session extension does not consider global variables as a source of > data, unless register_globals is enabled. You can disable this > functionality and this warning by setting session.bug_compat_42 or > session.bug_compat_warn to off, respectively. in Unknown on line 0 */ > //CAN ANYONE HELP ME FINDOUT WHERES THE PROBLEM??!?? > //WHEN I COMMENT EITHER LINE 2 OR 3, THERE IS NO WARNING > session_start(); > $arrFormData = $_POST; > $_SESSION['arrFormData'] = $arr;//$arrFormData;//phpinfo(); > ?> > <form id="frmUser" method="post"> > First Name: <input type="text" name="fName" /> <br/> > Last Name: <input type="text" name="lName" /> <br/> > <input type="submit" name="btnAdd" value="add" /> > </form> > > > Regards, > Sachin > ([EMAIL PROTECTED]) -- Some people have a "gift" link here. Know what I want? I want you to buy a CD from some indie artist. http://cdbaby.com/browse/from/lynch Yeah, I get a buck. So? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php