delete_supermaster.php
changeset 160 19cc35549204
parent 126 cb06e3e29ed8
equal deleted inserted replaced
159:abe711eddd45 160:19cc35549204
    21 
    21 
    22 require_once("inc/toolkit.inc.php");
    22 require_once("inc/toolkit.inc.php");
    23 include_once("inc/header.inc.php");
    23 include_once("inc/header.inc.php");
    24 
    24 
    25 $master_ip = "-1";
    25 $master_ip = "-1";
    26 if (isset($_GET['master_ip']) && (is_valid_ip($_GET['master_ip']) || is_valid_ip6($_GET['master_ip']))) {
    26 if (isset($_GET['master_ip']) && (is_valid_ipv4($_GET['master_ip']) || is_valid_ipv6($_GET['master_ip']))) {
    27 	 $master_ip = $_GET['master_ip'];
    27 	 $master_ip = $_GET['master_ip'];
    28 }
    28 }
    29 
    29 
    30 $confirm = "-1";
    30 $confirm = "-1";
    31 if ((isset($_GET['confirm'])) && (v_num($_GET['confirm']))) {
    31 if ((isset($_GET['confirm'])) && (v_num($_GET['confirm']))) {