> session_start();
> while ( list($name,$value) = each($HTTP_POST_VARS)) {
> if (is_array($value)) {
> for($x=0;$x session_register('$name');
No. This will register a variable whose name is literally '$name' over and
over, which (A) is not what you want and (B) $name isn'
"Peter Dowie" <[EMAIL PROTECTED]> wrote in message
001201c11d08$1b3fe280$021ea8c0@petexp">news:001201c11d08$1b3fe280$021ea8c0@petexp...
> Hi,
>
> I'm using sessions and everytime my script is called, I want to add
all
> elements of $HTTP_POST_VARS to my $HTTP_SESSION_VARS
> so that I can access th
2 matches
Mail list logo