summaryrefslogtreecommitdiff
path: root/leave-a-message/writemessage.php
diff options
context:
space:
mode:
authorGravatar Chris Xiong <chirs241097@gmail.com> 2019-02-10 11:29:20 +0800
committerGravatar Chris Xiong <chirs241097@gmail.com> 2019-02-10 11:29:20 +0800
commitec9d9b4da39e6c74b8514bfaf623ed7ac310d128 (patch)
tree3ed0ac591c065fdf8af1b45c80999c0de3224f13 /leave-a-message/writemessage.php
parent9d3c8c0e6e1a7ba43bf3dc19350d1dca68b657a3 (diff)
downloadweb-ec9d9b4da39e6c74b8514bfaf623ed7ac310d128.tar.xz
Disable legacy shit.
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);