downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | conferences | my php.net

search for in the

HttpRequest::getResponseData> <HttpRequest::getResponseCode
[edit] Last updated: Fri, 17 May 2013

view this page in

HttpRequest::getResponseCookies

(PECL pecl_http >= 0.23.0)

HttpRequest::getResponseCookiesレスポンスのクッキーを取得する

説明

public array HttpRequest::getResponseCookies ([ int $flags = 0 [, array $allowed_extras ]] )

リクエストが送信された後に、レスポンスのクッキーを取得します。

リダイレクトが許可されており、複数のレスポンスを受信した場合は、 最後に受信したレスポンスを参照します。

パラメータ

flags

http_parse_cookie()フラグ

allowed_extras

キーを、クッキー名ではなく追加情報として扱うようにする。

返り値

http_parse_cookie() が返すのと同様に、 stdClass オブジェクトの配列を返します。



add a note add a note User Contributed Notes HttpRequest::getResponseCookies - [0 notes]
There are no user contributed notes for this page.

 
show source | credits | stats | sitemap | contact | advertising | mirror sites