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 一章。