rc3/maps/ir/cellar/01/testcookie.php

8 lines
180 B
PHP
Raw Normal View History

2021-02-15 19:14:50 +00:00
<?php
if (isset($_COOKIE["TestCookie"]))
echo "TestCookie=".$_COOKIE["TestCookie"];
$cookieval = "cookie_".time();
setcookie("TestCookie", $cookieval, time()+3600*24);
exit;
?>