search

Home  >  Q&A  >  body text

Use JavaScript or PHP to limit spam messages

I want to restrict users, if they try to submit a comment like "hjshssjdh", how can I restrict them

I tried many ways but still didn't find a solution, please provide me a solution, how to restrict users so that the server does not accept this type of messages, please write a meaningful comment

P粉642436282P粉642436282556 days ago712

reply all(1)I'll reply

  • P粉546257913

    P粉5462579132023-09-18 10:39:40

    I think you can use Google reCAPTCHA as a robust solution.

    Check its documentation herehere.

    If this is not what you need, please let me know.

    reply
    0
  • Cancelreply