<?php
$value = 'rainy';
setcookie("weather", $value, time()+60*60*24, "/", "masterblue.com", 1);
/*setcookie("TestCookie", $value, time()+3600);  */
/*setcookie("TestCookie", $value, time()+3600, "/~rasmus/", "example.com", 1); */
?>

<html>
<head profile="http://www.w3.org/2005/10/profile">
<meta charset="utf-8"/>
<link rel="icon" type="image/png" href="/favicon.png" />
<meta name="description" content="this is masterblue.com"/> 
<title>Set Cookie from Server</title>
</head>
<body>
<?php echo '<p>Cookie weather=rainy was set from Server</p>'; ?>
<a href="/">Home</a>
<br>
</body>
</html>
