Re: [PHP] S: function to remove & break URLs

2006-08-28 Thread RalfGesellensetter
Dear Jon, cheers for your lines ... Am Montag 28 August 2006 02:31 schrieb Jon Anderson: > Guestbook spam (and comment spam) is something I'd like to try to > eliminate altogether myself. I don't think there are any > one-size-fits all solutions out there yet for detection/elimination. > I'd pers

Re: [PHP] S: function to remove & break URLs

2006-08-27 Thread Paul Scott
On Sun, 2006-08-27 at 20:31 -0400, Jon Anderson wrote: > In reference to the detection part; In my case, 95%+ of the spam entries > have links that contain one of about 5 words (casino, pharm, drug, > stock, or invest), so I could eliminate most spam by automatically > trashing all entries that

Re: [PHP] S: function to remove & break URLs

2006-08-27 Thread Jon Anderson
RalfGesellensetter wrote: Dear list, does anybody of you know these spammers filling up your guestbook with URLs? With strip_tags, I managed to remove the html tags. But what I want is this: 1. Detect such entries (to hide them by default) 2. Destroy URLs As for 2. I am thinking of adding

[PHP] S: function to remove & break URLs

2006-08-27 Thread RalfGesellensetter
Dear list, does anybody of you know these spammers filling up your guestbook with URLs? With strip_tags, I managed to remove the html tags. But what I want is this: 1. Detect such entries (to hide them by default) 2. Destroy URLs As for 2. I am thinking of adding spaces after at least every 1