For Programmers: Free Programming Magazines  


Home > Archive > PHP Language > May 2004 > About bad-language filters









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author About bad-language filters
Huh

2004-05-19, 5:31 pm

Xref: 127.0.0.1 alt.comp.lang.php:5184 comp.lang.php:18734

Does anyone know of any php scripts out there that implement bad-language
filtering?

Thanks!


Theo

2004-05-19, 6:30 pm

"Huh" <huh@huh.com> wrote in news:NAPqc.9395$eH1.5202883
@newssvr28.news.prodigy.com:

> Does anyone know of any php scripts out there that implement bad-language
> filtering?


look up str_replace at php.net

Its pretty straightforward to use.
Default User

2004-05-19, 7:30 pm

Huh wrote:
>
> Does anyone know of any php scripts out there that implement bad-language
> filtering?



Here's a tutorial. I didn't really go through it, so I don't know how
complete the resultant code is.


http://www.phpfreaks.com/tutorials/122/0.php



Brian Rodenborn
Huh

2004-05-19, 11:30 pm

"Default User" <first.last@boeing.com.invalid> wrote in message
news:40ABDC57.E8A58C78@boeing.com.invalid...
> Huh wrote:
bad-language[color=darkred]
>
>
> Here's a tutorial. I didn't really go through it, so I don't know how
> complete the resultant code is.
>
>
> http://www.phpfreaks.com/tutorials/122/0.php
>
>
>
> Brian Rodenborn


Hi Brian, thz for the site, but that's kinda what I have been doing already
by using the "preg_replace" function

The problem I think I am having is that I can't filter out more
sophisticated profanity or implied profanity. And I am wondering if there
are certain techniques or algorithms out there to contend with such rather
pressing issues.

Thanks


John Dunlop

2004-05-20, 6:30 am

F'ups to clp.

Huh wrote:

> Does anyone know of any php scripts out there that implement bad-language
> filtering?


Huh? What, something to expunge Rick's other name? I dunno. I don't
think computers can do that reasonably, yet.

--
Jock
Kevin Thorpe

2004-05-20, 7:30 am

Huh wrote:
> Does anyone know of any php scripts out there that implement bad-language
> filtering?


Just don't do what AOL used to do..... no-one in Scunthorpe could open
an account ;-)
R. Rajesh Jeba Anbiah

2004-05-20, 7:30 am

"Huh" <huh@huh.com> wrote in message news:<NAPqc.9395$eH1.5202883@newssvr28.news.prodigy.com>...
> Does anyone know of any php scripts out there that implement bad-language
> filtering?


Just hack the code of phpBB ;-)

--
| Just another PHP saint |
Email: rrjanbiah-at-Y!com
nice.guy.nige

2004-05-20, 7:30 pm

While the city slept, Huh <huh@huh.com> feverishly typed:

> Does anyone know of any php scripts out there that implement
> bad-language filtering?


<? PHP

if(source.language == "VBScript") {
exit();
}

?>
;-)
Cheers,
Nige

--
Nigel Moss.

Email address is not valid. nigel@nigenetDOG.org.uk. Take the dog out!
http://www.nigenet.org.uk | Boycott E$$O!! http://www.stopesso.com
In the land of the blind, the one-eyed man is very, very busy!


Jeffrey Silverman

2004-05-22, 10:30 am

On Thu, 20 May 2004 02:05:01 +0000, Huh wrote:

> The problem I think I am having is that I can't filter out more
> sophisticated profanity or implied profanity. And I am wondering if there
> are certain techniques or algorithms out there to contend with such rather
> pressing issues.


Human monitors

--
-------------------------
| Jeffrey Silverman |
| jeffrey-AT-jhu-DOT-edu|
-------------------------

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com