Maybe print out some more diagnostics to see where/how the script is progressing. Maybe one of your SQL selects doesn't return what you think it should?
Also consider using something other than FormMail, it has various problems.
The code you posted is far too long to wade through. Trim it down to maybe only the spam detection without any CGI, database or mail part, to see whether the problem is there. If the problem is not there, look at the other parts.
In reply to Re: FormMail spam
by Corion
in thread FormMail spam
by htmanning
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |