add_zone_master.php
changeset 161 0832d846bf8e
parent 126 cb06e3e29ed8
child 170 391e744a1def
equal deleted inserted replaced
160:19cc35549204 161:0832d846bf8e
    47 	// be... should be... how can I say this politicaly correct?
    47 	// be... should be... how can I say this politicaly correct?
    48 	// 20080303/RZ
    48 	// 20080303/RZ
    49 
    49 
    50         if(!$empty) {
    50         if(!$empty) {
    51                 $empty = 0;
    51                 $empty = 0;
    52                 if(!eregi('in-addr.arpa', $domain) && (!is_valid_ip($webip) || !is_valid_ip($mailip)) ) {
    52                 if(!eregi('in-addr.arpa', $domain) && (!is_valid_ipv4($webip) || !is_valid_ipv4($mailip)) ) {
    53                         error(_('IP address of web- or mailserver is invalid.')); 
    53                         error(_('IP address of web- or mailserver is invalid.')); 
    54 			$error = "1";
    54 			$error = "1";
    55                 }
    55                 }
    56         }
    56         }
    57 
    57