• hi there can someone tell me how best to deal with this? I havent had any of it until yesterday and the same stinkin dirt merchant texas holdem poker is doing it. they also have started to hit my contact form on another site of mine.

    the other day I came across a post here on how to deal with junk referrers, so I implimented this and it hasnt done much. I did traceroute’s on the domain names but really didnt know which ip to use in the code below. Is this really just a losing battle doing it with ip’s they are never static anyway right? would it work better with the url?

    if (strpos($HTTP_REFERER, 'ttp://') > 0)
    {
    $pieces=explode("/", $HTTP_REFERER);
    $lookup = gethostbyname($pieces[2]);
    if ($lookup == "161.58.59.8" || $lookup == "219.150.118.16" || $lookup == "192.168.0.1" || $lookup == "219.150.128.98" || $lookup == "167.206.3.182"
    || $lookup == "65.165.84.11")
    {
    syslog(LOG_ALERT,"redirected $pieces[2]");
    header("Location: " . $HTTP_REFERER);
    exit();
    }

    }

    thanks alot….

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘trackback spam’ is closed to new replies.