[PHP] Re: Session: I RTFM

2002-12-14 Thread conbud
John Taylor-Johnston wrote: Jason wrote: RTFM again. Jason, again, I RTFM, but did not get it working. Otherwise I wouldn't have dared ask a question. Sessions depends on a number of factors including your version of PHP and the setting of register_globals. The FM manual says: "$_SESSION

[PHP] Re: Session: I RTFM

2002-12-14 Thread michael kimsal
Instead of while(list($k,$v)=each($_POST)){ $_SESSION[$k]=$v; //echo "_name_ ".stripslashes($k)." _value_ ".stripslashes($v).""; } why not just $_SESSION = array_merge($_SESSION,$_POST); ??? Michael Kimsal http://www.phpappserver.com 734-480-9961 -- PHP General Mailing List (http://www.php

[PHP] Re: Session: I RTFM

2002-12-14 Thread John Taylor-Johnston
Thanks. John > When faced with this problem I tried the following (works) > > The top section of PHP code just reads the POST return array > and plops it into a series of successive _SESSION vars > > Included is a FORM to use that shows the simple code at work > > HTH > TomHenry > > ===

[PHP] Re: Session: I RTFM

2002-12-14 Thread TomH
When faced with this problem I tried the following (works) The top section of PHP code just reads the POST return array and plops it into a series of successive _SESSION vars Included is a FORM to use that shows the simple code at work HTH TomHenry Tested =