RE: [PHP-DB] Database abuse help needed

2006-03-13 Thread Finner, Doug
No, I agree, for this matter you can never create a regular expression well written enough to match all or even most of the lingo we use. = Been off the list for a couple of days and just stumbled across this thread. Our company uses some kind of

Re: [PHP-DB] Database abuse help needed

2006-03-13 Thread Ludvig Ericson
Another fine thing about this is the fact that you can use unicode characters as an alternative which the regular expression engine probably wont match, unless it's somehow tweaked. This is the same theory as in when you are doing phising, for say ebay.com and replace the a with one of them

Re: [PHP-DB] Database abuse help needed

2006-03-12 Thread Julien Bonastre
-spectrum.org --oOo---oOo-- - Original Message - From: Ludvig Ericson [EMAIL PROTECTED] To: Julien Bonastre [EMAIL PROTECTED] Cc: php-db@lists.php.net Sent: Sunday, March 12, 2006 11:31 AM Subject: Re: [PHP-DB] Database abuse help needed Well, no matter how long you

Re: [PHP-DB] Database abuse help needed

2006-03-12 Thread Ludvig Ericson
, 2006 11:31 AM Subject: Re: [PHP-DB] Database abuse help needed Well, no matter how long you spend on coding a regex - no sane one would capture all misspellings possible. It's impossible. Think of these: fukc, fucck, f uck, fu ck, fuc k, f ukc, fu kc, fuk c, fu kk, fawk, faak, fak, etc

Re: [PHP-DB] Database abuse help needed

2006-03-11 Thread Ludvig Ericson
- From: Chris Payne [EMAIL PROTECTED] To: php-db@lists.php.net Sent: Saturday, March 11, 2006 2:53 AM Subject: RE: [PHP-DB] Database abuse help needed Ahhh thank you everyone, I came up with the same solution - kind of, but I used about 5 more lines of code to achieve the same

Re: [PHP-DB] Database abuse help needed

2006-03-11 Thread Julien Bonastre
]; php-db@lists.php.net Sent: Sunday, March 12, 2006 12:18 AM Subject: Re: [PHP-DB] Database abuse help needed Erm, dude, chill out with the elitism. I think there's more then 2% knowing about regexes, and more then 5% of those 2% that can write oh-so-complex regular expressions (Either GMail

Re: [PHP-DB] Database abuse help needed

2006-03-11 Thread Ludvig Ericson
PROTECTED] Cc: Chris Payne [EMAIL PROTECTED]; php-db@lists.php.net Sent: Sunday, March 12, 2006 12:18 AM Subject: Re: [PHP-DB] Database abuse help needed Erm, dude, chill out with the elitism. I think there's more then 2% knowing about regexes, and more then 5% of those 2% that can write oh

RE: [PHP-DB] Database abuse help needed

2006-03-10 Thread Chris Payne
@lists.php.net Subject: RE: [PHP-DB] Database abuse help needed Thank you for that. And excuse the inexperience, but how would I use an Array with the below? I mean say I had words such as this,is,a,bad,word (Just as examples as I can't post what I'm trying to block on here) how would I loop through

[PHP-DB] Database abuse help needed

2006-03-09 Thread Chris Payne
Hi there everyone, Is there a better way I can do this? if ($email == [EMAIL PROTECTED] OR $subject == Rulez666 Basically, if I have data coming from a form to a DB, is there a better way to say check EVERY variable for a specific set of words rather than doing $name, $subject etc

RE: [PHP-DB] Database abuse help needed

2006-03-09 Thread Dwight Altman
-structures.foreach.php http://us2.php.net/strpos Yes, that's !== or === -Original Message- From: Chris Payne [mailto:[EMAIL PROTECTED] Sent: Thursday, March 09, 2006 5:21 PM To: php-db@lists.php.net Subject: [PHP-DB] Database abuse help needed Hi there everyone, Is there a better way I can do

RE: [PHP-DB] Database abuse help needed

2006-03-09 Thread Chris Payne
: [PHP-DB] Database abuse help needed Hi there everyone, Is there a better way I can do this? if ($email == [EMAIL PROTECTED] OR $subject == Rulez666 Basically, if I have data coming from a form to a DB, is there a better way to say check EVERY variable for a specific set of words rather than