servnest/pg-act/reg/glue.php

15 lines
340 B
PHP
Raw Normal View History

2023-07-17 19:15:18 +00:00
<?php declare(strict_types=1);
regCheckDomainPossession($_POST['domain']);
2023-04-28 13:39:05 +00:00
rateLimit();
knotcZoneExec(regParseDomain($_POST['domain'])['suffix'], [
formatAbsoluteDomain(formatEndWithDot($_POST['subdomain']) . $_POST['domain']),
CONF['reg']['ttl'],
2023-01-23 00:14:59 +00:00
checkIpFormat($_POST['ip']),
$_POST['ip']
]);
output(200, _('Modification done.'));