php3-list | 200003
Date: 03/31/00
- Next message: Richard Heyes: "RE: [PHP3] swear word checker"
- Previous message: Nick Zukin: "Re: [PHP3] Macintosh PHP Editor (was: Re: [PHP3] Visual Editor?)"
- In reply to: Nicholas Burke: "[PHP3] swear word checker"
- Next in thread: Richard Heyes: "RE: [PHP3] swear word checker"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
How about:
$bad = array("fuck","shit","piss");
for ($i=0;$i<count($bad);$i++)
{
$entry=eregi_replace("$bad[$i]","CENSORED",$entry);
}
- Next message: Richard Heyes: "RE: [PHP3] swear word checker"
- Previous message: Nick Zukin: "Re: [PHP3] Macintosh PHP Editor (was: Re: [PHP3] Visual Editor?)"
- In reply to: Nicholas Burke: "[PHP3] swear word checker"
- Next in thread: Richard Heyes: "RE: [PHP3] swear word checker"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

