This Script can be included anywhere and used where ever you have a public entry form where users can enter freehand text, this is to stop people with over-active imaginations and an overdeveloped sense of humour from making rude or profane entries. The word filter itself is as expandable as your word definitions it could include any terms deemed inappropriate it will filter them and replace them with random punctuation marks.
Requires MySQL 3.22.x or higher & PHP4