$val = $_COOKIE["acv"]; if ( 'false' == $val ) { $loc = 'http://' . $_SERVER['HTTP_HOST'] . '/agedenied.html'; header('Location: ' . $loc); return; } ?>