You are here: Re: [PHP] Almost OT - urlencode and IE « PHP « IT news, forums, messages
Re: [PHP] Almost OT - urlencode and IE

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]


Удаленная работа для программистов  •  Как заработать на 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

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