Search code examples
cakephpwords

cakephp - I want some words to be restricted in my website


I want that admin can enter some words which he wants to be restrcted throughout the website. How can I do so?


Solution

  • Looks like you need a table with forbidden words which you can check any text entry of users with. AFAIK there is no ready solution for this, but this is how I would do it. For your admin you can write an admin interface with which he/she can add or delete words.