Network 함수 목록
PHP Manual

setrawcookie

(PHP 5)

setrawcookieSend a cookie without urlencoding the cookie value

설명

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.

인수

For parameter information, see the setcookie() documentation.

반환값

성공할 경우 TRUE를, 실패할 경우 FALSE를 반환합니다.

변경점

버전 설명
5.2.0 The httponly parameter was added.

참고


Network 함수 목록
PHP Manual