Double Meta Refresh

dheer

Elite Member
Jr. VIP
Joined
Jul 24, 2009
Messages
3,390
Reaction score
1,288
hi guys,

I have tried searching the whole forum but could not found the solution this is why posting here.

Here is what I want to do.

Suppose I have 2 different websites. abc.com and the other is xyz.com. Now the first site abc.com is where I get my traffic but is not approved at CPA network and the second site xyz.com is approved.

What I want to do is every time a visitor clicks on abc.com links (there are various links not just 1 offer link) it should appear to the network that these clicks are coming from xyz.com or if I say it should include the HTTP Referrer from xyz.com. I know it might be pretty easy and I found some threads like this:-

http://www.blackhatworld.com/blackh...resh-redirects.html?highlight=blanking+script

but I could not figure out how to make it workable. Any help would be appreciated.
 
create a "redirect pages" on xyz.com
example:
abc.com show these offers
xyz.com/offer1
xyz.com/offer2

xyz.com/offer1 redirect to your CPA
but for more security you can make a double ref
xyz.com/offer1 redirect to xyz.com/offer1-plus1 that redirect to CPA
 
Thanks for your input zx123 but any code snippets would help.

I'm willing to pay or trade something if anyone is up for this work :)
 
Create a link on abc.com that links directly to a php header redirect script on xyz.com.

Then the referring site IS actually xyz.com, because it's gone though it.
 
Thanks for your input zx123 but any code snippets would help.

I'm willing to pay or trade something if anyone is up for this work :)

there's tool shared for DMR i will try to search my laptop now
 
What zx123 is proposing is pretty simple to create. On the unapproved abc.com, your offer links go to xyz.com/offer1.

xyz.com/offer1 is a redirect to your CPA network.


Code:
<?php

   header( 'Location: http://www.yoursite.com/new_page.html' ) ;

?>


Code:
<html>

<?php

   //this will NOT work, the browser received the HTML tag before the script


   header( 'Location: http://www.yoursite.com/new_page.html' ) ;

?>

I pulled the above redirect script from about.com. Hope this helps you.
 
Create this as a php redirect file on xyz.com

<?php
header('Location:*http://www.cpa.com/offerpage.php');
?>

http://php.net/manual/en/function.header.php
 
Last edited:
here's DMR generator

Code:
http://www.mediafire.com/?45de6su38posh1x

SHA256: 6c4741a7d33f7568636fe1292e640fd531f5268ca2620397166111326e99867e File name: DMR generater.exe Detection ratio: 0 / 42

Code:
https://www.virustotal.com/file/6c4741a7d33f7568636fe1292e640fd531f5268ca2620397166111326e99867e/analysis/
 
Create a link on abc.com that links directly to a php header redirect script on xyz.com.

Then the referring site IS actually xyz.com, because it's gone though it.

Thanks for the input but if I understood you correctly should I point links on abc.com like this way <a href = "php script on xyz.com")

but as I told I have various links on abc.com which goes on different type of offers so how these links will redirect along with xyz.com headers?
 
You'll need a different redirect script for each offer. One for each to keep it clean.

You could create a fancy get string which passed an offer code and that redirected to the correct page if you wanted? I could give you the code for that too?
 
You'll need a different redirect script for each offer. One for each to keep it clean.

You could create a fancy get string which passed an offer code and that redirected to the correct page if you wanted? I could give you the code for that too?

@ trustedfire9

trustedfire9 provided me DMR and I tried running it and I can see it creates 2 different PHP files. So should I upload these 2 files on under xyz.com and then point <a href= xyz.com/1st.php> at abc.com?

Also as jascoken said I need to make multiple PHP files for each offer? Isn't there any way we can do it with 2 php files only?

Thanks guys for all your help.
 
Create 'Access.php' as:

Code:
<?php
$ID = trim($_GET['id']);
switch ($ID) {
    case 'AA';
        header ("Location: http://CPA.com/OfferAA.php");
        break;
    case 'BB';
        header ("Location: http://CPA.com/OfferBB.php");
        break;
    case 'CC';
        header ("Location: http://CPA.com/OfferCC.php");
        break;
    default;
        header ("Location: http://CPA.com/OfferDefault.php");
        break;
}
exit;
?>

And call it with a link to ...Access.php?id=OfferID

Where OfferID = AA,BB,CC etc above.

You can have as many as you want in the top script - just copy the 3 'CASE' lines over and over and change the ID code and http address.
 
this way the referrer will be http://.....access.php

what if the CPA looks for the referrer and finds it's a redirection, is it normal? won't we get suspended?

Rename it to something more sensible sounding: like Offer.php

The point of this thread was that he had an approved site, which he could redirect through, so if you wanted it to look completely natural, you'd make all offer links from that site go through the Access/Offer.php script as well. Then no-one would know any different.

I'm not saying this is a cover-all piece of code for CPA! I just offered it in this particular circumstance!
 
Back
Top