what: why: how: 1:写入cookie时,先将其用Url编码,然后再写入 2:当我们读取时再Url解码即可 php两个函数 urlencode() urldecode() js两个函数 decodeURI() encodeURI() 打赏感谢支持与鼓励~