Date: 11/23/00
- Next message: Richard Quinn: "[phplib] db_mysql.inc Last Insert ID?"
- Previous message: Renato Lins: "Re: [phplib] PHPLIB+PHP4 session variable not registered"
- In reply to: Renato Lins: "[phplib] PHPLIB+PHP4 session variable not registered"
- Next in thread: Renato Lins: "Re: [phplib] PHPLIB+PHP4 session variable not registered"
- Reply: Renato Lins: "Re: [phplib] PHPLIB+PHP4 session variable not registered"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
i use multi dimsion arrays all the time when u register the variable
drop the "$" sign
i register $sess->register("ss"); // for state stack
i register $sess->register("sp"); // for stack pointer
and use vars like $ss[$sp]["r"]["fieldname"]["type"]=value;
with no problems
in either php3, or php4
Renato Lins wrote:
>
> Hello,
>
> I am planing to update from php3 to php4 on my web site, but one of our
> applications uses a session variable that that is a two dimension array
> like this :
>
> $info[$d1][$d2] = " some value " ;
> $sess->register("$info");
>
> but info is registered as a string, not as an array and no values are
> saved to sessions table;
>
> every thing else works fine !
>
> I am using mandrake 7.2 with apache 1.3.14 and php modules that comes
> with the distributions, but I thins this is not a ploblem.
>
> It looks like serialize() functions is not working in sessions.inc.
>
>
> --
> Linux User #180985
> ICQ UIN# 2986849
> *--------------------------------------------------------------*
> It's trivial to make fun of Microsoft products, but it takes a real man
> to make them work, and a god to make them do anything useful.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: phplib-unsubscribe <email protected>
> For additional commands, e-mail: phplib-help <email protected>
-- My opinions are my own and not that of my employer even if I am self employed Tech Net, Inc. --FREE THE MACHINES-- 651.224.2223 627 Palace Ave. #2 karner <email protected> karner <email protected> St. Paul, MN 55102-3517 www.tnss.com wanted : adsl/cable modem with static ip at reasonable price accept-txt: us-ascii,html,pdf accept-dat: ascii-delimited,sql insert statments--------------------------------------------------------------------- To unsubscribe, e-mail: phplib-unsubscribe <email protected> For additional commands, e-mail: phplib-help <email protected>
- Next message: Richard Quinn: "[phplib] db_mysql.inc Last Insert ID?"
- Previous message: Renato Lins: "Re: [phplib] PHPLIB+PHP4 session variable not registered"
- In reply to: Renato Lins: "[phplib] PHPLIB+PHP4 session variable not registered"
- Next in thread: Renato Lins: "Re: [phplib] PHPLIB+PHP4 session variable not registered"
- Reply: Renato Lins: "Re: [phplib] PHPLIB+PHP4 session variable not registered"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

