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