You are here: Re: [PHP] PHP 5.0.3 and base64 encoded cookie value issue? « PHP « IT news, forums, messages
Re: [PHP] PHP 5.0.3 and base64 encoded cookie value issue?

Posted by Pink Floyd on 09/30/43 11:10

Greetings again,
Thanks to richard for pointing out a good way to
devle
into the source. It appears after browsing through the
source that the ' ' (space) is encoded to '+'. Also
the
characters '_', '-', '.' do get special treatment.

Obviously, this works great in the scenario where the
cookie is set by the PHP/Server and retrieved by a
PHP/Server.

Since the encoding is not mandated by the spec, I
guess I cannot fault PHP for doing what it does. But I
am curious as to what led to the design decision to
encode ' ' to '+'.

Thanks to richard and others for all the help.
MK

[snipped the previous threads]




__________________________________
Do you Yahoo!?
Yahoo! Small Business - Try our new resources site!
http://smallbusiness.yahoo.com/resources/

 

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

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