show_errors(); if ($_SERVER['REQUEST_METHOD'] == 'POST') { $ip = stripslashes($_POST['ip']); $description = stripslashes($_POST['description']); $wpdb->query($wpdb->prepare("INSERT INTO ".$wpdb->prefix."abtest_ip_filters SET ip=%s, description=%s", $ip, $description)); redirect_to('?page=abtest&action=settings'); } else { $ip = ''; $description = ''; } ?>

Add IP filter

(e.g. 127.0.0.1)
Insert my current IP

(e.g. Home IP)

or Cancel