|
Posted by Stan McCann on 10/27/06 14:04
"Geoffrey" <google.poster@yahoo.com> wrote in
news:1161838419.311793.112670@b28g2000cwb.googlegroups.com:
> Hi Stan --
>
> Perhaps you could use a combination of serialize and base64_encode
> to solve your problem. The only catch is that encoding strings in
> base64 can result in a really long URL and may (ultimately) exceed
> some browsers' limits. But if the array you are working with is
> relatively small, this solution may be feasible.
>
> First serialize your array, then encode it in base64. Send the
> encoded string as your GET variable. On the other side, decode the
> GET variable, then unserialize it. This should reassemble your
> array correctly.
>
That seems to do the trick. Thanks a bunch.
--
Stan McCann, RETIRED!!, "Uncle Pirate" http://stanmccann.us/
Implementing negative score for googlegroup postings, see
http://blinkynet.net/comp/uip5.html
A zest for living must include a willingness to die. - R.A. Heinlein
[Back to original message]
|