开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜