Re: passing an array in a form element

From: Date: Mon, 12 Aug 2002 20:41:32 +0000
Subject: Re: passing an array in a form element
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-112201@lists.php.net to get a copy of this message
Mark, et al -- ..and then Mark Charette said... % % I use % % $data=base64_encode(serialize($array_name)); % % to send and % % $array_name=unserialize(base64_decode($data)); % % to receive. Aha! Yes, that works nicely; thanks. Now to go and see how they work to see if I need the base64 stuff; that sounds safest to me. % % $data can be passed via a hidden INPUT field. Right. Thanks, all; I'll be sure to poke at the other ideas as well. :-D -- David T-G * It's easier to fight for one's principles (play) davidtg@justpickone.org * than to live up to them. -- fortune cookie (work) davidtgwork@justpickone.org http://www.justpickone.org/davidtg/ Shpx gur Pbzzhavpngvbaf Qrprapl Npg!

« previous php.general (#112201) next »