Stiu ca e mai fain sa verifici daca este setata o variabila sau nu, dar asa e mai scurt: <?php ini_set('display_errors', FALSE); if (preg_match('/[a-z]/i', $_POST['a'] . $_POST['b']) || $_COOKIE['blocked']) { if (!$_COOKIE['blocked']) setcookie('blocked', 1, time() + 3600); die('Access denied!'); } ?> <form method="post"> <input type="text" name="a" value="0" /> + <input type="text" name="b" value="0" /> = <input type="text" value="<?=['zero', 'unu', 'doi', 'trei', 'patru', 'cinci', 'sase', 'sapte', 'opt', 'noua', 'zece'][$_POST['a'] + $_POST['b']]?>" disabled /> <input type="submit" /> </form>