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

search for in the

HttpRequest::setHeaders> <HttpRequest::setContentType
Last updated: Fri, 03 Oct 2008

view this page in

HttpRequest::setCookies

(PECL pecl_http:0.12.0-1.5.5)

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

説明

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

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

パラメータ

cookies

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

返り値

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



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

HttpRequest::setHeaders> <HttpRequest::setContentType
Last updated: Fri, 03 Oct 2008
 
 
show source | credits | sitemap | contact | advertising | mirror sites