$_SESSION['from_form'] = $_REQUEST;


Julio Nobrega.

Um dia eu chego lá:

Ajudei? Salvei? Que tal um presentinho?

"Zara E Gonzalez" <[EMAIL PROTECTED]> wrote in message
> Hullo,
> I was just wondering if anyone knew an easy way to register all $_REQUEST
> variables as session variables.
> Or if there's not any easy way to do that, if there is an easier way than
> it this way for each variable:
> $a = $_REQUEST['a'];
> session_register("a");
> $b = $_REQUEST['b'];
> session_register("b");
> etc
> I have a bunch of form variables that I need to set as session variables,
> I'm not sure if there is an easy way to do so or not.
> I tried:
> session_register("$_REQUEST['a']");
> but that didn't seem to work...
> any help is appreciated,
> Zara

PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to