algo."); if (!($_POST['type'] === "2")) userError("Wrong value for type."); if (!(preg_match("/^[a-z0-9]{64}$/", $_POST['fp']))) userError("Wrong value for fp."); knotcZoneExec($_POST['zone'], array( $values['domain'], $values['ttl'], "SSHFP", $_POST['algo'], $_POST['type'], $_POST['fp'] )); success("Enregistrement ajouté"); } ?>