Someone keeps posting a large number of vulgar posts to my database. They are usually the same. The only way I can stop them is by breaking the .php page, and then deleting them, and then adding something like the following to the .php post page:
if (strpos($_POST['password'], 'curse*') === false){
if (strpos($_POST['username'], 'curse*') === false){
if (strpos($_POST['password'], 'curse*') === false){
if (strpos($_POST['username'], 'curse*') === false){
if (strpos($_POST['password'], 'curse*') === false){
if (strpos($_POST['username'], 'curse*') === false){
}}}}}}
Obviously when I do this it stops him from using those words, but he just changes them and hits the database again.
How can I stop this malicious posting?
They are posting reddit usernames now vossbot SyVala GeekYogurt and taking the the titles of their posts and putting them into my database. How is this happening?