add_record.php
changeset 136 c795dd75a77e
parent 132 155178ad24e4
child 140 e68c3d6094d1
equal deleted inserted replaced
135:3673b1c9246c 136:c795dd75a77e
    37 $zone_id = "-1";
    37 $zone_id = "-1";
    38 if ((isset($_GET['id'])) && (v_num($_GET['id']))) {
    38 if ((isset($_GET['id'])) && (v_num($_GET['id']))) {
    39 	$zone_id = $_GET['id'];
    39 	$zone_id = $_GET['id'];
    40 }
    40 }
    41 
    41 
    42 $ttl = $DEFAULT_TTL;
    42 $ttl = $dns_ttl;
    43 if ((isset($_POST['ttl'])) && (v_num($_POST['ttl']))) {
    43 if ((isset($_POST['ttl'])) && (v_num($_POST['ttl']))) {
    44 	$ttl = $_POST['ttl'];
    44 	$ttl = $_POST['ttl'];
    45 }
    45 }
    46 
    46 
    47 $prio = "10";
    47 $prio = "10";