- Mar 22, 2013
- 9,148
- 10,489
I have this old site that has a contact page, and someone keeps spamming it with the same message over and over again in every language. I remove the entire page for a month, it stops. I put it back, it continues. I don't know what the deal is, but it's annoying. I just use this site to have an account with a certain payment processor, it's not really a real site. But I do need to have my site working, so I can't just remove the contact page and leave it removed.
So I want to add a recaptcha on the page, or if it's easier add a block in the "Name" field for a certain part of the word. Because the guy always has the same text in the name:
MikeBlaBla
JohnBlaBla
MariaBlaBla
The "BlaBla" is always there...
---
The website is html+php+jquery. It's a very old site. It has these 2 files for the contact page:
contact-us.php
https://codefile.io/f/EmYijUFA5w
contactform.lib.php
https://codefile.io/f/IHm7ZVGwWm
Yeah, the second one has a lot of code. Sorry
So anyway, if anyone wants to check it out and it's an easy fix, I would appreciate the help. Even if I can just add like a blacklisted word in the "Name" field would do it.
Thanks
So I want to add a recaptcha on the page, or if it's easier add a block in the "Name" field for a certain part of the word. Because the guy always has the same text in the name:
MikeBlaBla
JohnBlaBla
MariaBlaBla
The "BlaBla" is always there...
---
The website is html+php+jquery. It's a very old site. It has these 2 files for the contact page:
contact-us.php
https://codefile.io/f/EmYijUFA5w
contactform.lib.php
https://codefile.io/f/IHm7ZVGwWm
Yeah, the second one has a lot of code. Sorry
So anyway, if anyone wants to check it out and it's an easy fix, I would appreciate the help. Even if I can just add like a blacklisted word in the "Name" field would do it.
Thanks