Ahh... isin doesn't use regular expressions.

$ban =  "www\.abc\.com"

should be -

$ban =  "www.abc.com"

The \. combination is used in regular expressions to indicate the following
character is to be interpreted literally. When the variable is not being
used with a regular expression match, you shouldn't have this.

If that still doesn't work, try -

        if (isin("body","www.abc.com")) reject "Your site is banned"

just to see if that works by itself.

- Roydon L.

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]
Sent: Thursday, 16 January 2003 10:03 a.m.
To: [EMAIL PROTECTED]
Subject: Re: how to set rul


u mean just set
$ban
and add this row is ok??
$ban =  "www\.abc\.com"
if (isin("body",$ban)) reject "Your site is banned"
but also cant block it







Reply via email to