i want to make bad words filter scrip with php
example case:
i want to filter the word "out"
if someone submitting the words containing "out" with or without leading or trailing space, it will be rejected.
but word like "outfit" or "without" will be accepted.
can anybody help me?
thanks
example case:
i want to filter the word "out"
if someone submitting the words containing "out" with or without leading or trailing space, it will be rejected.
but word like "outfit" or "without" will be accepted.
can anybody help me?
thanks