servnest/pg-act/reg/print.php

10 lines
293 B
PHP
Raw Normal View History

<?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']);