// check if cookies are working if ($guesthash != $_COOKIE['guesthash']) { $std->Error( array( LEVEL => 1, MSG => 'cat_pass_notice') ); }