Re: Profanity Filter
| From: | Stephan Ahonen | Date: | Fri, 19 Jan 2001 22:20:48 +0000 |
| Subject: | Re: Profanity Filter | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-35742@lists.php.net to get a copy of this message | ||
> I don't like
> arrays, because then it requires a programmer to add dirty word...
You could probably make an addbadwords.php that loads the
filterbadwords.php, does some stupid PHP tricks(tm) to find the line that
defines the array, then writes the filterbadwords.php back out with the new
words added to the array... I did something similar with a news adder script
for wheezebucket.com.