Network Funciones
PHP Manual

setrawcookie

(PHP 5)

setrawcookieSend a cookie without urlencoding the cookie value

Descripción

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

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

Parámetros

For parameter information, see the setcookie() documentation.

Valores devueltos

Devuelve TRUE en caso de éxito o FALSE en caso de error.

Historial de cambios

Versión Descripción
5.2.0 The httponly parameter was added.

Ver también


Network Funciones
PHP Manual