Re: passing arrays of objects

From: Date: Thu, 01 Feb 2001 19:16:04 +0000
Subject: Re: passing arrays of objects
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-37690@lists.php.net to get a copy of this message
"Conover, Ryan" wrote: > > I was wondering if I can pass an array that has serialized objects to next > page via url encoding > > $foo //array with serialized objects in it > > with the following encoding > > something/something/foobar.php?foo=echo($foo) > > and be able too unserialize $foo on the next page(foovar.php) I would go with rawurlencode (serialize ($foo)), as the value, and I guess it will work. BTW, why aren't you using the session support? In that case it will pass only the session ID,and the data associated w/ it will be un/serialized only on the server, w/o being passed back and forth. -- teodor

« previous php.general (#37690) next »