Sign in
webkit
/
WebKit
/
a45353d83d948aea49a7ba26e8c968326e202341
/
.
/
LayoutTests
/
http
/
tests
/
cookies
/
resources
/
set-http-only-cookie.php
blob: 410e6fe1d54c62a10baa8045f0f49ae4ab34cedc [
file
] [
log
] [
blame
]
<?
php
if
(
$_GET
[
'cookieName'
])
{
setcookie
(
$_GET
[
'cookieName'
],
"1"
,
time
()
+
86400
,
"/"
,
""
,
FALSE
,
TRUE
);
echo
"Yeah"
;
}
else
{
header
(
"HTTP/1.0 200 OK"
);
echo
"FAILED: No cookieName parameter found.\n"
;
}
?>