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