Javascript debugger
Website design
↑
Add custom cookies.
The request option encodecookies
controls
whether the cookie values should be urlencode()d.
Affects any request method.
<?php
$r = new HttpRequest;
$r->addCookies(
array(
"cookie_name" => "cookie value",
)
);
?>
HttpRequest::setCookies() |