Reply to Re: function to extract key/value pairs?

Your name:

Reply:


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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация