Re: Almost OT - urlencode and IE

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux