summaryrefslogtreecommitdiff
path: root/leave-a-message/writemessage.php
diff options
context:
space:
mode:
Diffstat (limited to 'leave-a-message/writemessage.php')
-rw-r--r--leave-a-message/writemessage.php7
1 files changed, 4 insertions, 3 deletions
diff --git a/leave-a-message/writemessage.php b/leave-a-message/writemessage.php
index b4585fe..5308954 100644
--- a/leave-a-message/writemessage.php
+++ b/leave-a-message/writemessage.php
@@ -37,9 +37,10 @@
onerror($name,$mesg);
exit;
}
- $response=json_decode(file_get_contents("https://www.google.com/recaptcha/api/siteverify?secret=6Lf1lAcUAAAAABRj_EJ1OzhzGfiorpfYFbcGQE5r&response=".$captcha."&remoteip=".$_SERVER['REMOTE_ADDR']), true);
- if($response['success'] == false)onerror($name,$mesg);
- else
+ //OH SHIT I LEAKED MY OWN KEY!!!
+ //$response=json_decode(file_get_contents("https://www.google.com/recaptcha/api/siteverify?secret=6Lf1lAcUAAAAABRj_EJ1OzhzGfiorpfYFbcGQE5r&response=".$captcha."&remoteip=".$_SERVER['REMOTE_ADDR']), true);
+ //if($response['success'] == false)onerror($name,$mesg);
+ if(false)
{
if(strlen($mesg)+strlen($name)>16300)echo "Your message is too long!!!";
$rmesg=htmlspecialchars($mesg);