For Programmers: Free Programming Magazines  


Home > Archive > PHP Mirrors > April 2005 > cvs: php-bugs-web /include functions.inc









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 cvs: php-bugs-web /include functions.inc
Derick Rethans

2005-04-16, 8:55 pm

derick Sat Apr 16 18:36:55 2005 EDT

Modified files:
/php-bugs-web/include functions.inc
Log:
- More spam blocks :I


http://cvs.php.net/diff.php/php-bug...9&r2=1.150&ty=u
Index: php-bugs-web/include/functions.inc
diff -u php-bugs-web/include/functions.inc:1.149 php-bugs-web/include/functions.inc:1.150
--- php-bugs-web/include/functions.inc:1.149 Thu Apr 14 15:57:09 2005
+++ php-bugs-web/include/functions.inc Sat Apr 16 18:36:55 2005
@@ -19,7 +19,7 @@
if (substr_count(strtolower($string), 'http://') > 5) {
return true;
}
- if (preg_match("/(massage)|(mortage)|(sex)/i", $string)) {
+ if (preg_match("/(spy)|(bdsm)|(massage)|(mortage)|(sex)/i", $string)) {
return true;
}
return false;
Sponsored Links







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

Copyright 2008 codecomments.com