Re: PHP 5.0.3 and base64 encoded cookie value issue?

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

 



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/ 

-- 
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