Setting cookies for EU legislation

Textpattern Developer Jukka Svahn (gocom) shows us a PHP-based method for displaying a warning to users that cookies may be set in order to comply with EU legislation. This method allows the user to tick a box to remove the warning message in the future.