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