Re: Re: Passing Serialized Array via Hidden field

From: Date: Mon, 21 Jul 2003 08:04:39 +0000
Subject: Re: Re: Passing Serialized Array via Hidden field
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-156023@lists.php.net to get a copy of this message
On Monday, Jul 21, 2003, at 10:38 Europe/Helsinki, Sam Baum wrote:
am Monday 21 July 2003 09:24 schrieb Andrei Verovski:
I am need to pass serialized assotiative array via form hidden field (not GET or POST).
What does this mean? If you dont use GET or POST your form cant be submitted.
I am need to pass serialized assotiative arrays (qty of 3) TO form without GET, using hidden fields, but of course, I will use POST to acquire form data.
In order to do it, I did the following: urlencode(serialize($my_array)). However, after retrieving data from hidden field and unserialize I've got junk.
Just guessing: tried it w/o urlencode?
Yes, I did. I've got junk on my web page, because of special chars and sequences in "serialized" data. ********************************************* * Best Regards --- Andrei Verovski * * Personal Home Page * http://snow.prohosting.com/guru4mac * Mac, Linux, DTP, Development, IT WEB Site *********************************************

« previous php.general (#156023) next »