servnest/pg-act/reg/glue.php

13 lines
301 B
PHP
Raw Normal View History

<?php
regCheckDomainPossession($_POST['suffix']);
2023-01-23 01:14:59 +01:00
knotcZoneExec(regParseDomain($_POST['suffix'])['suffix'], [
formatAbsoluteDomain(formatEndWithDot($_POST['subdomain']) . $_POST['suffix']),
CONF['reg']['ttl'],
2023-01-23 01:14:59 +01:00
checkIpFormat($_POST['ip']),
$_POST['ip']
]);
output(200, _('Modification done.'));