SyntaxFix
Write A Post
Hire A Developer
Questions
Try square braces with your $_COOKIE, not parenthesis. Like this:
$_COOKIE
<?php if ($_COOKIE['CaptchaResponseValue'] == "false") { header('Location: index.php'); return; } ?>
I also corrected your location header call a little too.