PHP 5.6.0 released

HttpRequest::setCookies

(PECL pecl_http >= 0.12.0)

HttpRequest::setCookiesSet cookies

Descrizione

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

Set custom cookies.

Elenco dei parametri

cookies

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

Valori restituiti

Restituisce TRUE in caso di successo, FALSE in caso di fallimento.

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top