Any PHP function to convert invalid characters in Cookie?
I got this: Warning: Cookie开发者_StackOverflow values can not contain any of the following ',; \t\r\n\013\014'
is there a function to remove those? and also convert the "+" sign in to %2B ?
try urlencode($cookie_value);
At last, I use base64_encode to do that.
精彩评论