Documentation Index

About The ERROR.INI File

ERROR.INI is a minor INI file and there are plans to simply turn it into a PHP array. For now it's importance is for rejecting comment spam.

Ban Words

There in an array that contains strings that will cause a submitted comment to be rejected:

    [BAN_WORDS]
    1 = "[url="
    2 = "[link="
    3 = "http://"
    4 = "href="

These strings being the sole reason comment spammers exist. (Our code also strips out HTML.)

It also supports regular expressions (between '//'s):

    5 = "/[a-zA-Z\.]+@[a-zA-Z]+\.(com|org|net|info|biz)/"