$badmails = array('tade@ferfeereqrsd.com');foreach ($badmails as $badmail) { if (strtolower($com->email) == $badmail) { mosRedirect($backlink, 'Your are not welcome here!'); }}$badwords = array('ΛΕΞΗ1', 'ΛΕΞΗ2');foreach ($badwords as $badword) { if (preg_match("#\b".$badword."\b#i", $com->cmessage)) { mosRedirect($backlink, 'Your message is not acceptable!'); }}
if (preg_match("#".$badword."#ui", $com->cmessage)) {