The HttpRequest
PHP Manual

HttpRequest::enableCookies

(PECL pecl_http >= 1.0.0)

HttpRequest::enableCookiesEnable cookies

설명

public bool HttpRequest::enableCookies ( void )

Enable automatic sending of received cookies.

Note: Note that custom set cookies will be sent anyway.

반환값

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


The HttpRequest
PHP Manual