|
Posted by Philip Hallstrom on 04/04/05 20:42
You could base64_encode it... you'll run into url length issues at some
point, but I believe that's around 4kbytes or so...
I've done this before... something like:
base64_encode(serialize($my_object));
then undo it on the other end.
On Mon, 4 Apr 2005, Chris wrote:
> I'm writing a web app that passes values in the URL separated by a / . I'm
> passing these values by supplying links to them.
>
> The writing and reading of these values is fine, I'm just stuck at the
> differing ways IE handles urlencoding the data..
>
> IE will not work unless I double urlencode it `urlencode(urlencode($sData))`
> while Firefox and Opera (and, I imagine, every other non-microsoft browser
> out there) only needs to be encoded once.
>
>
> I could gripe about IE or whatnot, but I just want to know if there have been
> 'solutions' to this problem in the past?
>
>
> Thanks,
>
> Chris
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
Navigation:
[Reply to this message]
|