-1

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?

1 Answers1

2

Implement a new user approval system that only accepts after you approve.

If you want a new user automated system, then put in a 1 hour or 24 hour delay, with a notification to you.

Does the password really matter and need to be censored if it is only seen by the user and the database admin?

Without more details of the new user system you have set up, it is hard to be more specific. For example, can't answer the "have to break the .php page" aspect.

Alan
  • 716
  • 5
  • 15