 |
|
Innovation award
 Nominee: 1x |
This class can replace text with profanity words looking up a MySQL database.
It can process a text string by looking up its words in a MySQL database table which has profanity words.
The class can replace the found profane words with alternative non-profane words also retrieved from the MySQL database.
Alternatively it can replace the words with asterisks or grawlix symbol characters.
The class also provides means to add, retrieve, update or delete words from the profanity MySQL database table.
|
|
| Name: |
Curse Filter |
| Base name: |
curse-filter |
| Description: |
Replace text with profanity words looking up MySQL |
| Version: |
- |
| PHP version: |
5.0 |
| License: |
GNU General Public License (GPL) |
| All time users: |
509 users |
| All time rank: |
4879 |
| Week users: |
1 user |
| Week rank: |
2089  |
| |
|
 June 2011
Number 4 |
Using profane words is inappropriate for many sites. In some forums and other types of sites on which the users can freely submit their posts, it may happen that some users use profane words in the posts.
One solution to prevent that happens is to refuse posts with profane words. Another alternative is to accept all posts, but censor any profane words in a way that they do not look profane.
This class provides a clever implementation of that solution. It can lookup a MySQL database of known profane words and replace any words in the database by non-profane equivalent words, or even obfuscate the profane words by replacing some of their letters or even replace them by special symbols.
Manuel Lemos |
| Not yet rated by the users |
| |
Applications that use this class |
|
|
No application links were specified for this class.

If you know an application of this package, send a message to the
author to add a link here.
| |
Files |
|
|