Hi,
Cookies werden im HTTP-Header gesendet und müssen daher auch passened codiert werden.
Ob PHP das automatisch macht, konnte ich nicht erkennen.
http://www.php.net/manual/en/function.setcookie.php:
Note that the value portion of the cookie will automatically be urlencoded when you send the cookie, and when it is received, it is automatically decoded and assigned to a variable by the same name as the cookie name. If you don't want this, you can use setrawcookie() instead if you are using PHP 5.
(Das bezieht sich aber wohl wirklich nur auf den value, und nicht auf name.)
MfG ChrisB
--
"The Internet: Technological marvel of marvels - but if you don't know *what* you're lookin' for on the Internet, it is nothing but a time-sucking vortex from hell."
"The Internet: Technological marvel of marvels - but if you don't know *what* you're lookin' for on the Internet, it is nothing but a time-sucking vortex from hell."