|
Posted by Krustov on 01/15/07 21:46
<comp.lang.php>
<Chuck Anderson>
<Fri, 12 Jan 2007 15:25:55 -0700>
<GvudnTrlfZJqlzXYnZ2dnUVZ_ruknZ2d@comcast.com>
> I have a contact form on my site (been there for a few years) and just
> lately someone has begun using it to send Spam to me - and only to me
> (one to three times a day). I can tell because I track the usage of
> those contact form scripts (that I wrote) closely. The person is not
> even trying to inject anything into the headers, they are just sending
> me URLs to their porn sites.
>
> Is there any way to block this kind of usage? I've tried the usual
> tricks (hidden form field - checking referrer), but they always (almost)
> check out okay. The originating IP address changes every time, of
> course - and the porn sites are usually already gone.
>
A suitable image code will stop most spam .
www.phptakeaway.co.uk/takeaway_contact.php
This might look like the normal form-to-email thingy - but no email is
sent and the submission gets stored on the server .
A quick glance at the date is all thats needed to decide if its
worthwhile going into the admin control panel to read the submissions .
I'll be releasing v1.0 of php takeaway in about a weeks time and you can
grab the images / php code for the image code and hack it around to suit
yourself .
--
www.phptakeaway.co.uk
(work in progress)
Navigation:
[Reply to this message]
|