servnest/pg-act/reg/glue.php

14 lines
350 B
PHP
Raw Permalink 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();
2023-07-30 23:13:06 +00:00
knotcZoneExec(regParseDomain($_POST['domain'])['suffix'], regParseRecord($_POST['domain'], [
'type' => 'ip',
'domain' => formatAbsoluteDomain(formatEndWithDot($_POST['subdomain']) . $_POST['domain']),
...$_POST,
]));
output(200, _('Modification done.'));