PHP function setrawcookie()

Availability in PHP 5.0

Send a cookie without urlencoding the cookie value

Parameters

Parameter Data type Default value Note
$name string not
$value string null,
$expire int null,
$path string null,
$domain string null,
$secure bool null,
$httponly bool null

Return values

bool

Returns true on success, otherwise false on failure.

Other resources

Official setrawcookie documentation

Newsletter

Nejlepsi tipy a triky o PHP do Vaseho e-mailu. Clanky a novinky nejen ze sveta PHP a programovani.