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, 10 Oct 2008

view this page in

HttpRequest::setCookies

(PECL pecl_http:0.12.0-1.5.5)

HttpRequest::setCookiesSet cookies

Описание

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

Set custom cookies.

Список параметров

cookies

an associative array as parameter containing cookie name/value pairs; if empty or omitted, all previously set cookies will be unset

Возвращаемые значения

Возвращает 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, 10 Oct 2008
 
 
show source | credits | stats | sitemap | contact | advertising | mirror sites