function protectwebform_verify_code($comment_id) { global $user_ID, $comment_type; global $protectwebform_id, $protectwebform_passphrase; // user is logged in if ($user_ID) { return $comment_id; } if(strlen($_POST['protectwebformcode']) <= 30) { # change to use CURL start $url = "http://www.protectwebform.com/verify01?vui={$protectwebform_id}&vp={$protectwebform_passphrase}&ri=" . urlencode($_SERVER['REMOTE_ADDR']) . "&vs=" . urlencode($_POST['protectwebformcode']); $ch = curl_init ($url); curl_setopt ($ch, CURLOPT_HEADER, 0); curl_setopt ($ch, CURLOPT_RETURNTRANSFER, 1); $protectwebformresult = curl_exec ($ch); curl_close ($ch); # change to use CURL end /* change not to use file_get_contents start $protectwebformresult = @file_get_contents( "http://www.protectwebform.com/verify01?vui={$protectwebform_id}&vp={$protectwebform_passphrase}&ri=" . urlencode($_SERVER['REMOTE_ADDR']) . "&vs=" . urlencode($_POST['protectwebformcode'])); change not to use file_get_contents end */ if(preg_match("||", $protectwebformresult)) { return $comment_id; } } // removing comment wp_set_comment_status($comment_id, 'delete'); ?> Wrong Protection Code Passed!

Wrong Protection Code Passed!

If you are not redirected automatically, hit button back (in your browser) and input the correct image code.