116 posts
  • Bought between 10 and 49 items
  • Exclusive Author
  • Has been a member for 5-6 years
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
  • Sold between 1 and 100 dollars
  • United States
finsta2 says

I am no expert in php but I do know some stuff. So here is my idea if it sounds plausible hopefully Envato staff can hire the right guy to do it.

Step One – Lets log http header referrals to a MySQL Database with php

Step Two: Lets create a filter or a bad word class using RegEX.
This will allow us to find bad refers think of it as a bad word filter

Step Three: If the filter is triggered update a MySQL table to 1.
Lets say if your database has a table field called bad. By default make it null or 0. You could also do a email but maybe that wouldn’t be optimal.

Step Four: Cron Jobs. Maybe make a daily log file (only bad ones). You can call the files refer_log_03062010.cgi

What you think?