Clean up spam submitted to survey form
Posted by sarneil on 18 Feb 2009 in Activity log
MF reports a large number of unwanted submissions to the survey form on the home page of the CanMys site. I looked in the db and discovered a large number of records which had obviously been submitted automatically. I did a number of queries which isolated various categories of those unwanted records and deleted them.
To minimize future similar spam, I added some pretty conventional lines to the form and to the code processing the form which should catch the majority of that junk and prevent it from being sent. Nothing elaborate.