SETRAWCOOKIE(3) 1 SETRAWCOOKIE(3)
setrawcookie - Send a cookie without urlencoding the cookie value
SYNOPSIS
bool setrawcookie (string $name, [string $value], [int $expire], [string $path], [string $domain], [bool $secure = false], [bool
$httponly = false])
DESCRIPTION
setrawcookie(3) is exactly the same as setcookie(3) except that the cookie value will not be automatically urlencoded when sent to the
browser.
PARAMETERS
For parameter information, see the setcookie(3) documentation.
RETURN VALUES
Returns TRUE on success or FALSE on failure.
CHANGELOG
+--------+---------------------------------------------------+
|Version | |
| | |
| | Description |
| | |
+--------+---------------------------------------------------+
| 5.5.0 | |
| | |
| | A Max-Age attribute is now included in the Set- |
| | Cookie header sent to the client. |
| | |
| 5.2.0 | |
| | |
| | The $httponly parameter was added. |
| | |
+--------+---------------------------------------------------+
SEE ALSO
setcookie(3).
PHP Documentation Group SETRAWCOOKIE(3)