I am trying to set the japanese characters in this useremail cookie.
The thing is sometimes the $HTTP_COOKIE_VA RS['username'] returns me a
garbled string;
Do I have to encode first before I save it in the cookie?
setcookie( "username", $username, time()+3600*24* 30*12*5, "/",
www.mydomain.com, 0 );
SK
The thing is sometimes the $HTTP_COOKIE_VA RS['username'] returns me a
garbled string;
Do I have to encode first before I save it in the cookie?
setcookie( "username", $username, time()+3600*24* 30*12*5, "/",
www.mydomain.com, 0 );
SK
Comment