I want to restrict the user if they are trying to submit comment like this "hjshssjdh" how can i restrict them
I have try many ways but still not getting the solution suggest me a solution how can i restrict the user that server is not accept this type of message write a meaning full comment
2
Answers
I think you can use google reCAPTCHA as a strong solution.
check its documents here.
Let me know if this is not what you need.
You can use pspell_check() funtion in PHP 8.1.0
Detail page in here: https://www.php.net/manual/en/function.pspell-check.php
Also for full comment function could be like: