> -----Original Message----- > From: Gonzalez, Zara E [mailto:[EMAIL PROTECTED]] > Sent: 11 March 2002 17:54 > > I was just wondering if anyone knew an easy way to register > all $_REQUEST > variables as session variables.
I haven't seen this solution on the list, but what about: foreach ($_REQUEST as $key=>$val): $_SESSION[$key] = $val; endforeach; Cheers! Mike --------------------------------------------------------------------- Mike Ford, Electronic Information Services Adviser, Learning Support Services, Learning & Information Services, JG125, James Graham Building, Leeds Metropolitan University, Beckett Park, LEEDS, LS6 3QS, United Kingdom Email: [EMAIL PROTECTED] Tel: +44 113 283 2600 extn 4730 Fax: +44 113 283 3211 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php