rc3/maps/ir/cellar/01/testcookie.php
Stephan Messlinger 95a12398e1 ini
2021-02-15 20:14:50 +01:00

8 lines
180 B
PHP

<?php
if (isset($_COOKIE["TestCookie"]))
echo "TestCookie=".$_COOKIE["TestCookie"];
$cookieval = "cookie_".time();
setcookie("TestCookie", $cookieval, time()+3600*24);
exit;
?>