Sign in
webkit
/
WebKit
/
1ebf7e1e8f30e7430c10eeac68b89a569f4602b2
/
.
/
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"
;
}
?>