Help with AuthImg hack
-
I installed the AuthImg hack because I got a bunch of spam for Christmas. I installed the latest version (1.0.4) but I get a parse error when I try to submit a comment:
Parse error: parse error, unexpected '<' in /home/hostile/public_html/blog/wp-comments-post.php on line 31
The code in that general area is as follow:
$url = trim(strip_tags($_POST['url']));
$url = ((!stristr($url, '://')) && ($url != '')) ? 'http://'.$url : $url;
if (strlen($url) < 7)
$url = '';<!-- Code for ImgAuth -->
// authimage -- Check for valid sized code
$code = trim(strip_tags($_POST['code']));
if (strlen($code) < 6)
$code = '';
<!-- End for ImgAuth -->$comment = trim($_POST['comment']);
$comment_post_ID = intval($_POST['comment_post_ID']);
$user_ip = $_SERVER['REMOTE_ADDR'];Any ideas?
- The topic ‘Help with AuthImg hack’ is closed to new replies.