Hi all,
I have a guestbook on our site and I used this code (which I purposely, did not put all the bad words in on the forum post, to not offend people) to filter out bad words and (I thought) urls from spam.
But, it removes the urls I add, but somehow, somone else is spamming it several times a day?
I did not setup the guestbook, I just added the word filter code to try and slowdown the spam.
The thing I am confused about is that the person who set it up, used a longblob for the comments, which is where the spam is stored. Now I can edit the comments in an HTML form in Admin mode and see for example
[u r l]http://www.yahoo.com[/u r l] (spaces added to show the [ u r l ])
in the "Admin edit" mode, but if I add a comment and put that exact code in, my filter removes it, but obviously, it does not do that with the spammers???
I would appreciate any help here, we do like the format of this guestbook and the site owners do not want to go to a login system. Which is why I tried to add the filter. We have somone editing this guestbook each day, but I just want to "break" the url posts until we can edit them out.
Thanks in advance,
Don