Blank Referer V2.0 - Meta-refresh DMR

seikooc

Regular Member
Joined
Aug 11, 2008
Messages
268
Reaction score
133
Hey guys, below is info on DMR's that you may know or not know and a solution for some traffic that would be otherwise lost.

Here is the deal with DMR's that many people do not realize. With most scripts you meta-refresh to the 2nd page instantly whether or not it was blank or has a referer. Not a big deal right - WRONG!!

The Normal Solution is that we are sending that traffic to another page that will see that the referer is not blank so it will not send. That precious traffic is now gone and will not make it to the aff link.

The Problem: It is a big deal because some of your traffic will be blank from the get go in instances when you email and in a few other situations. And some of that blank traffic will be using browsers like Opera and Safari, and once it attempts to go through your DMR it will then carry your 1st page .php link as a referer to the second page which will now stop your traffic from reaching the aff link because it now has a referer. If we knew it was blank from the beginning then we should let the traffic continue to the aff link using a pass through method such as header("Location hxxp://affiliatelink.c0m"); ... This method will work on all browsers since it's not doing a meta-refresh and since it's blank and we know it then it's fine to just let it pass through.

Now some people will say just send that traffic to an aff link that does not mind your referer, but remember that your referer is now just the 1st redirect page due to the full link being carried by those certain browsers (I don't care for any AM to know that link)...

My solution: Send traffic to abc.php -----> Evaluates if blank or has a referer -------> If referer is blank send to aff link using header("location....) request and you are done! (no need to send to 2nd page and no need to use a meta-refresh)
(if referer is present send to 2nd page using a meta-refresh) -------> 2nd page will determine if it is now blank ---------> If blank go to aff link -------> if not blank (usually due to browser) go to any other site.....

These are typical situations:
1. Blank referer with browser that allows DMR
2. Non-blank referer with browser that allows DMR
3. Blank referer with browser that does not allow DMR (NOW SOLVED)

4. Non-blank referer with browser that does not allow DMR (have to dump that traffic, which this script does)

So here are the scripts and the instructions to implement them:

Script 1. Replace bing.com with your affiliate link & replace yoursite.com with whatever your site name is (xyz.php is file 2 so keep that intact after whatever your site name is .com ... example: http://billybobskoolaucitons.com/xyz.php)

Save this file as abc.php
PHP:
<?php

    $referer = $_SERVER['HTTP_REFERER'];

    if($referer == "")
    
{

header("Location: http://bing.com");

}else{

echo "<meta http-equiv=\"refresh\"content=\"0;url=http://yoursite.com/xyz.php\">";

}
?>

Script 2. Replace bing.com with your affiliate link & replace dumpsite6000.com with any site that you want to dump non-blank traffic.

Save this file as xyz.php
PHP:
<?php

    $referer = $_SERVER['HTTP_REFERER'];

    if($referer == "")
    
{

header("Location: http://bing.com");

}else{

echo "<meta http-equiv=\"refresh\"content=\"0;url=http://dumpsite6000.com\">";

}
?>

Now upload these 2 files to the root directory which is usually: /home/someusername/public_html/

Then point your traffic to yoursite.c0m/abc.php

Test it for yourself on browsers like FF vs Safari having no referer to begin with. And try it using a traditional DMR. The difference is the new one will make it to the aff link the old one will be wasted.

If you get a good amount of email traffic this will help you out quite a bit. Works great for me.

Hope you guys like it!!!
 
Here are my results:

1. I used http://www.svyt.com/referral.php as my "affiliate" link. This website lets you know if you got referred or not. Let's pretend I visited that website from google. The website would then say "You came from google."

So I implemented these scripts... I made a post on my blog which hyperlinked to the DMRs. Guess what? It worked.

I clicked on my hyperlink on my blog, it went straight to http://www.svyt.com/referral.php, and it said "No referral, Yay!"


2. I tested this on Safari. I clicked on my hyperlink, and I went to google (i set the fallback link to google).



Did you say that internet explorer and safari users will still make it to the CPA offer or not? I didn't quite get what you said.

EDIT:
I pm'd the OP and he said that internet explorer users will be able to get to the CPA offer via the DMR, but Safari users will not. I will test this tomorrow.

It is confirmed that the DMR works, and Safari users go straight to the dumpsite.

Now I just gotta test if internet explorer users will pass.

I'm sure it will, so I'll give a rep ^_^.
This is going to be VERY useful in my craigslist campaign. Thanks.
 
Last edited:
As long as you are using both files then IE and FF will work when coming in with a referer and without.

For Safari and Opera you have to do a couple of things to test the difference between this script and a traditional DMR.

1. Using my DMR open Opera or Safari and just type in your first php file link. This is using no referer from the get go. Then it should make it to your so called Aff link.

2. Do the same thing, again no referer but using the old method of DMR and it will not go to the aff link as the first DMR will inject a referer and the 2nd PHP file will not allow it to pass.

There is the difference between old and new.
 
I will definitely be saving these scripts, they are awesome! Much appreciated
 
Glad you guys like it. This script works on any site or hosting account that supports PHP.
 
Okay, that the header redirect usually passes the referer isn't knew...but theoretically might be browsers or browser versions out there which do something different, because the BROWSER gets the header redirect and the BROWSER decides what he wants to do with it. So it might be possible that there are browser which leave a referer and does not pass it with h header redirect like not all browsers blank the referer when it gets a meta refresh. So you need to add e second header redirect!?

Or do I have an error in reasoning?
 
the abc.php file comes up with a blank screen does that mean it has a referer or what?
 
No... It means the script is not set correctly... Hit me on AIM
 
Great post dude , but can you please explain about this dumping traffic thing..i am a noob at all this :(
 
Great post dude , but can you please explain about this dumping traffic thing..i am a noob at all this :(

Well if you on the first entry there is a referer it sends to page 2 via a meta-refresh to remove the referer, if it on page 2 it still has a referer then it dumps the traffic to a site of your choice.
 
how does dumping traffic to a site help dude :D ?? in what kind of sites can u dump traffic and what is its use?? :)

Thanks.
 
how does dumping traffic to a site help dude :D ?? in what kind of sites can u dump traffic and what is its use?? :)

Thanks.

Well if your traffic is carrying a referer that will not blank what do u think is the best thing to do with it???

So if you are using email to drive traffic but your offer does not allow it then you would attempt to do a DMR... If the DMR is not successful you can send the traffic to another offer that may allow email traffic or just dump it to yahoo or wherever.

It's to protect you from getting banned.

Does that make sense???
 
yeah dude perfectly :D :), thanks for bearing a noob like me..so one last question , does your awesome script dump the traffic if they r carrying email referral automatically??
 
yeah dude perfectly :D :), thanks for bearing a noob like me..so one last question , does your awesome script dump the traffic if they r carrying email referral automatically??

Nope... because it attempts to blank it first.... Then if it does not then it dumps it... See what i mean???
 
ya i see what u mean man :) .. so either way , my ass will be safe from getting banned , right dude?? I guess i can use this script for my GODCPA offers..dude Thanks a lot for this great script of yours man :)
 
very nice! thanks a lot! will it look sketchy though if you have hundreds of clicks but none from certain web browsers?
 
yeah please answer this question friend :) .. i am planning to divert all the traffic for my CPA Offers via EMails and one porn site :D...so how will CPA Comapnies be convinced that the offers are getting leads from high traffic and legit sites if there is no referral??
 
Doesn't work for me. gives me some page with a warning: can't change Header

or something like that.
 
ya i see what u mean man :) .. so either way , my ass will be safe from getting banned , right dude?? I guess i can use this script for my GODCPA offers..dude Thanks a lot for this great script of yours man :)

I am not sure about GodCPA but I don't see why it would not work.

very nice! thanks a lot! will it look sketchy though if you have hundreds of clicks but none from certain web browsers?

Well those browsers may never have come with a referer to begin with so they would pass through anyways. Now if you can send your web page as the referer then you could send the ones with a referer to a PHP script that fakes the referer from your site. Check out: http://www.blackhatworld.com/blackh...rators/82992-how-fake-referer.html#post781922

yeah please answer this question friend :) .. i am planning to divert all the traffic for my CPA Offers via EMails and one porn site :D...so how will CPA Comapnies be convinced that the offers are getting leads from high traffic and legit sites if there is no referral??

Well you could fake the referer by sending to a whitehat site and faking the referer as described above. See: http://www.blackhatworld.com/blackh...rators/82992-how-fake-referer.html#post781922

Doesn't work for me. gives me some page with a warning: can't change Header

or something like that.

What browser are you using?? Should not give that error....
 
Back
Top