0

I got this: Warning: Cookie 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 ?

murvinlai
  • 48,919
  • 52
  • 129
  • 177

2 Answers2

1

try urlencode($cookie_value);

0

At last, I use base64_encode to do that.

murvinlai
  • 48,919
  • 52
  • 129
  • 177