Certified PHP Developer Learning Resources setrawcookie


(PHP 5)
setrawcookie — Send a cookie without urlencoding the cookie value

bool setrawcookie ( string $name [, string $value [, int $expire = 0 [, string $path [, string $domain [, bool $secure = false [, bool $httpsonly = false ]]]]]] )

setrawcookie() is exactly the same as setcookie() except that the cookie value will not be automatically urlencoded when sent to the browser.

Returns TRUE on success or FALSE on failure.

 For Support