PDA

View Full Version : spam problem is overwhelming.


dankster
03-06-2007, 04:02 PM
overwhelming. what can be done? i have installed the askimet addon and i still get spam every single day. and i think the spammer comes from THIS SITE. i get about 2 or 3 hits aday, and when the new spammers come, they start directly after they get referred from this site.

jaywilliams
03-06-2007, 06:31 PM
I have my own little way to fix the spam issue.
It fixed 99% of my spam.

Unfortunately, it's not a addon, it's only a hack.

But it can be installed, relatively quickly.

Open up your index.php file.

And go to line #1017.

You should see something like this:

// Ramin added more protections
if (eregi ("Content-Transfer-Encoding", $_POST['parent_name'].$_POST['email'].$_POST['url'].$_POST['name'].$_POST['message'].$_POST['parent_id'])) {die("SPAM Injection Error :(");}
if (eregi ("MIME-Version", $_POST['parent_name'].$_POST['email'].$_POST['url'].$_POST['name'].$_POST['message'].$_POST['parent_id'])) {die("SPAM Injection Error :(");}
if (eregi ("Content-Type", $_POST['parent_name'].$_POST['email'].$_POST['url'].$_POST['name'].$_POST['message'].$_POST['parent_id'])) {die("SPAM Injection Error :(");}


RIGHT below that, add this code:

NOTE: The code has been removed to keep spammers from seeing it.
{ Contact me for the code }

Save the changes, and re-upload the file.

Enjoy your spam free photoblog.

NOTE:
This is my own "hack", so there is no guarantee, but it's worked well for me. I just keep tweaking it a little here and there if spam gets through.

dankster
03-06-2007, 06:49 PM
seems to have worked! thanks to jay for actively helping!