servnest/pg-act/reg/print.php
2023-01-21 02:52:28 +01:00

9 lines
293 B
PHP

<?php
regCheckDomainPossession($_POST['domain']);
$zone_content = file_get_contents(CONF['reg']['registry_file']);
if ($zone_content === false)
output(500, 'Unable to read registry file.');
$data['zone-content'] = parseZoneFile($zone_content, ['A', 'AAAA', 'NS', 'DS'], $_POST['domain']);