(PHP 5)
setrawcookie — Send a cookie without urlencoding the cookie value
setrawcookie() is exactly the same as setcookie() except that the cookie value will not be automatically urlencoded when sent to the browser.
成功回傳TRUE失敗回傳FALSE。
Version | Description |
---|---|
5.2.0 | The httponly parameter was added. |