= 0 AND $_POST['flag'] <= 255)) output(403, 'Wrong value for flag.'); if (!(preg_match('/^[a-z]{1,127}$/', $_POST['tag']))) output(403, 'Wrong value for tag.'); if (!(preg_match('/^[a-z0-9.-]{1,255}$/', $_POST['value']))) output(403, 'Wrong value for value.'); knotcZoneExec($_POST['zone'], array( $values['domain'], $values['ttl'], 'CAA', $_POST['flag'], $_POST['tag'], $_POST['value'] )); output(200, 'Enregistrement ajouté/retiré.'); } ?>