corz.org uses cookies to remember that you've seen this notice explaining that corz.org uses cookies, okay!
<?php
/*
php code to set a one-time daily notice.
for use with the Pure CSS Drop-Down Info-Bar, or whatever you like.
cor + corz.org ;o)
*/
// this is a flag which will be checked in the footer.
// if set to true, we will print out the site notice..
$site_config['do_notice'] = false;
// check for existence of cookie..
if (empty($_COOKIE['notice'])) {
// set the notice flag..
$site_config['do_notice'] = true;
// set the cookie..
setcookie ('notice', 'seen', time() + (60*60*24), '/'); // 24 hours
}
?>