inc/dns.inc.php
changeset 12 7be4525290cc
parent 8 47dd15d8bb8c
child 16 79b09e1e2985
equal deleted inserted replaced
11:9e103ea0585d 12:7be4525290cc
    26 
    26 
    27 /*
    27 /*
    28  * Validates an IPv4 IP.
    28  * Validates an IPv4 IP.
    29  * returns true if valid.
    29  * returns true if valid.
    30  */
    30  */
    31 function validate_input($zoneid, $type, &$content, &$name, &$prio, &$ttl)
    31 function validate_input($recordid, $zoneid, $type, &$content, &$name, &$prio, &$ttl)
    32 {
    32 {
    33 	global $db;
    33 	global $db;
    34 
    34 
    35 	// Has to validate content first then it can do the rest
    35 	// Has to validate content first then it can do the rest
    36 	// Since if content is invalid already it can aswell be just removed
    36 	// Since if content is invalid already it can aswell be just removed