setrawcookie

(PHP 5)

setrawcookie -- 发送一个其值未经 urlencode 编码的 cookie

说明

bool setrawcookie ( string name [, string value [, int expire [, string path [, string domain [, bool secure]]]]] )

setrawcookie() setcookie() 完全相同,只除了 cookie 的值在向浏览器发送时不会自动被 urlencode 编码。

参见 header() setcookie() cookie 一章。