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

search for in the

HttpRequest::setHeaders> <HttpRequest::setContentType
[edit] Last updated: Fri, 07 Jun 2013

view this page in

HttpRequest::setCookies

(PECL pecl_http >= 0.12.0)

HttpRequest::setCookiesクッキーを設定する

説明

public bool HttpRequest::setCookies ([ array $cookies ] )

独自のクッキーを設定します。

パラメータ

cookies

クッキーの 名前/値 の組み合わせを含む連想配列。 空の配列を渡したり省略したりした場合は、 これまでに設定されているクッキーがすべて削除されます。

返り値

成功した場合に TRUE を、失敗した場合に FALSE を返します。



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

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