Reading a cookie value
<?php if (isset($_COOKIE['flavor'])) { print "You ate a {$_COOKIE['flavor']} cookie."; } ?>