I have a family friendly directory but adult, and porn site webmasters keep submiting their dumb sites to my directory. Ok only a few but I don't want them and have to keep rejecting rulebreakers so I want to stop them.
Now my question is how can you make a filter to where if bad words get entered even if mixed with other words the form will not go further.
This is what I have so far but it has to be only the bad word alone submited to be rejected.
badword10 contains the bad word in the language file.Code:if ($ttitle=="$LANG[badword10]") $error.="<LI>".$LANG["bad_words"];
Also ttitle is the PHP coding Title of my Directory submission. $error displays "Your site is not allowed because your site contains adult/illegal/spam content."
Can anyone tweak this little code to where I can reject any site that uses that word no matter where they put it in a sentance.