RE: [PHP] Naughty Word Catcher

2001-01-31 Thread O.Cook
> -Original Message- > From: Maxim Maletsky [mailto:[EMAIL PROTECTED]] > Sent: 31 January 2001 06:58 > To: Maxim Maletsky; 'Chris Aitken'; [EMAIL PROTECTED] > Subject: RE: [PHP] Naughty Word Catcher > > >header("Location: insert_stuff.php?com

RE: [PHP] Naughty Word Catcher

2001-01-30 Thread Maxim Maletsky
Maletsky Sent: Wednesday, January 31, 2001 3:52 PM To: 'Chris Aitken'; [EMAIL PROTECTED] Subject: RE: [PHP] Naughty Word Catcher Actually your function does header() on each loop ... This is correct .. $query="select naughty_words from prude_list"; $result=mysql_

RE: [PHP] Naughty Word Catcher

2001-01-30 Thread Maxim Maletsky
Actually your function does header() on each loop ... This is correct .. $query="select naughty_words from prude_list"; $result=mysql_query($query); while ($loop=mysql_fetch_array($result)) { if(stristr("$block_of_text","$loop[naughty_words]")) { $Gotcha = 1;

RE: [PHP] Naughty Word Catcher

2001-01-30 Thread Maxim Maletsky
Will work well, I think ... plus this is on submission which makes a little discount on load times. And it is quite expandable function. Cheers, Maxim Maletsky -Original Message- From: Chris Aitken [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 31, 2001 2:04 PM To: [EMAIL PROTECTE