[phorm] [Phorm:] Re: Bad Words

  • From: webbbs@xxxxxxxxx
  • To: support@xxxxxxxxx
  • Date: 26 Nov 2003 03:29:13 -0000

The following new message has been posted on Phorm Support Forum at 
<http://www.phorm.com/support/>. 

*************************************************************************** 

  MESSAGE:  (#3400) Re: Bad Words 
            <http://www.phorm.com/support/?rev=3400> 
  AUTHOR:   Holotech 
  DATE:     November 25, 2003 at 10:29 p.m. EST 

  Reply To: (#3396) Bad Words 
  Author:   Michael 
  Date:     November 25, 2003 at 7:22 p.m. EST 

> My problem: I've put "< valid 
> verboten.php" in the registry and I've put 
> "$PHORM_BADWORD = "with, all, the, bad, 
> words, I, can, think, of";" in the 
> phormconfig.php, but I'm not sure where to put 
> "BADWORD»Comments»1" in my form, or what to 
> put in the validation.txt file. I've read the 
> intstructions, but I don't seem to find what I'm 
> looking for, or I just don't see it! 

First, make sure you have the latest version of Phorm, v3.5.0. The validation 
rules format is much easier. 

You need to put 

$PHORM_VALDEFS = "validation.txt"; 

in your config file. The validation rules then go in that file. See the 
documentation for the full format of the file. For your particular case, the 
rule would look something like this: 

CRIT: BADWORD 
FFLD: MyPrayer 
MESG: 
Shame on you! Go and do penance. 
### 

BADWORD»Comments»1 is the old rule format. I need to update that 
documentation. 

*************************************************************************** 

This is an automatically-generated notice.  If you'd like to be removed from 
the mailing list, please visit Phorm Support Forum at 
<http://www.phorm.com/support/>, or send your request to webbbs@xxxxxxxxxx  If 
you wish to respond to this message, please post your response directly to the 
board.  Thank you! 
-------------------------------------------------
You are receiving this message because you are subscribed to the Phorm mailing 
list. To send messages to the mailing list, simply send email to 
phorm@xxxxxxxxxxxxx from the address you have subscribed. You may unsubscribe 
from the list by sending email to phorm-request@xxxxxxxxxxxxx with 
'unsubscribe' in the SUBJECT field.

Other related posts: