Re: Identifying spam text
| From: | jon | Date: | Fri, 28 May 2004 16:20:03 +0000 |
| Subject: | Re: Identifying spam text | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-187136@lists.php.net to get a copy of this message | ||
An easy thing to do might be to limit the number of submissions a single IP address can submit in a given period of time. That way, an occasional spam will get through, but its effect will be limited.
Also, if this web form has a standard url -- like you got it from a major script site like hotscripts or something -- just changing the url and some of the form names away from the default settings will go a long way towards thwarting a casual spam attacker. Mostly, these types of events seem related to targets of opportunity, so to speak.
-- jon
--
jon roig
web developer
phone: 888.230.7557
email: jon@trafficdesigns.com
Merlin wrote:
> Hi there,
>
> I am running a community site in php, where members can be contacted
> through a web form. Yesterday a guy contacted about 50 of those members
> with a spam text.
>
> Now I am trying to find a way to identify spam text via php. This looks
> like a common task to me, so I hope that I have not to invent the wheel
> twice. Maybe someone knows a good script to do this?
>
> Basicly it looks like that the text has to be checked against certain
> key words and if they reach a certain amount of hits it is spam text.
> Has anybody a good idea on how to start on this?
>
> Thank you for any hint,
>
> Merlin
>