one master server where the banned words list available as txt or any other format.
all other sites , will have one php file which will run daily at specific time using cronjob.
file.php contents can be something like this
read remote badwords file.
create array of words.
execute mysqli query to
search those words in Db comment_content
if found then either remove those words / replace those words with some other words / disable comment
|