CPA-Redirector 2

I was trying a Fake Referrer script which was shared here. But some how couldn't get it to work..

What I need is a Fake Referrer script with a variable to which I can assign any url address to fake...

this is the script.. I tried clicking on other page and landing on this page, and tried clicking from this page and landing on another page.. But in both ways this script is not working... Please help..

<?php

//Standalone CPA Redirector v2

//Settings

$magic_number = 1234; // Any number you choose except ZERO!

$cpa_offer_url = 'http://www.google.com';




//Don't edit below this line unless you know what you are doing.

if (isset($_GET['mn']) && $_GET['mn']==$magic_number){

echo '<html><head></head><body><form action="' . 'http://'.$_SERVER['HTTP_HOST'].$_SERVER['PHP_SELF'] . '" method="post" id="form1">

<input type="hidden" name="mn" value="' . $magic_number . '" /></form>

<script language="JavaScript">
document.getElementById(\'form1\').submit();</script></body></html>';
return true;
exit();
}

if ($_POST['mn']==$magic_number){

echo '<html><head></head><body><form action="' . 'http://'.$_SERVER['HTTP_HOST'].$_SERVER['PHP_SELF'] . '" method="post" id="form1">

<input type="hidden" name="mn" value="' . $magic_number . $magic_number . '" /></form>

<script language="JavaScript">
document.getElementById(\'form1\').submit();</script></body></html>';
return true;
exit();
}

$dom = preg_replace( "/^www\./", "", $_SERVER[ 'HTTP_HOST' ] ) ;
$ref= $_SERVER['HTTP_REFERER'];


if (((strpos($ref, $dom)!=FALSE) || (trim($ref)=="" ) ) && ($_POST['mn']==$magic_number.$magic_number)){
header( 'Location: ' . $cpa_offer_url);
exit();
}


?>


<html>
<head>
<title>Your Fake Landing Page</title>
</head>
<body>
<br><br><br><br>
<center><h1>Your Fake Landing Page</h1></center>

</body>
</html>
 
I've just downloaded this script and it looks very interesting, but no one seems to have answered the question, does it work with iframes? Say I'm using cakeslice and I want to frame an offer and stop the network I'm using knowing where the traffic is coming from, can I use cakeslice to slice .../blogpost/?mn=111111, which will redirect to the offer and let me frame the part of the offer I want to show. And if I do this, will the referer still show up as the blog url. Or even if I wanted to promote my affiliate on a bux site and I wanted the referer to show up as my blog.

I'm struggling to see what you would use this script for. Maybe I'm just being a bit dim.

Why not just use his CPA Framer script? Works very similar to this one...

http://www.contentgeneration.org/frame-cpa-offers-without-leaving-footprints/
http://www.contentgeneration.org/cpa-framer-standalone-version/
 
I got version 2 working in wp but on a few networks in ie i get a security pop up window.

Acutally its a pop up in ie that says ...

Internet Redirection
YOu are about to be redirected to a new internet site
Any information you exchange with the current site could
be retransmitted to the new internet site you are about to
connect with. Do you wish to continue ?

then a yes or no box



Anyone else seeing this ... its with cccjaayy links in ie only not in ff

Also what does version 4 have in it that version 2 doesnt , does it fix this ?

thanks
 
What I just do this:

use domain1.com as primary advertising link

domain1.com .htaccess redirects to domain2.com (any referrer domain)

domain2.com .htaccess redirects to offer

Simple as that. Would that do the same thing?
 
This is really useful as I just started doing affiliate promotion through tweetattacks and I needed a method to not get my banned by the networks. Thanks for the excellent share!
 
Okay, i know this thread is kinda old but I'm really struggling here. Almost at the point I'm willing to pay to have it done.

I've uploaded CPA-R 2 in WP, that was easy. Now I'm under the assumption that this is all that needs to be done correct, unlike the original CPA redirect where you had to modify some PHP in the header and stuff ???

So basically whats happening is I open CPA Redirector 2 in WP, put in my affiliate link. chose a magic number and hit save.

But when I enter the post page URL along with the magic number it just brings me to the post not to the offer page

I'm prolly missing something really simple...and thanks ahead for any support and help

/cav
 
Okay, i know this thread is kinda old but I'm really struggling here. Almost at the point I'm willing to pay to have it done.

I've uploaded CPA-R 2 in WP, that was easy. Now I'm under the assumption that this is all that needs to be done correct, unlike the original CPA redirect where you had to modify some PHP in the header and stuff ???

So basically whats happening is I open CPA Redirector 2 in WP, put in my affiliate link. chose a magic number and hit save.

But when I enter the post page URL along with the magic number it just brings me to the post not to the offer page

I'm prolly missing something really simple...and thanks ahead for any support and help

/cav

Just make sure you add

/?mn=magic_number

to the url you are promoting.....I would also suggest maybe using pretty links or something so that you create a nicer looking URL to promote


Hope that makes sense....
 
So now that you have CPA Redirector 2 setup, what would be the best way to promote this link, am I correct in saying that you are pretty much direct linking to the offer - most advertising networks (Adwords, FB etc) don't allow direct linking (the ones I am aware of anyway)......so what would be the point of masking the referer?

Why wouldn't you just send people to your landing page or am I missing something here? Sorry for the Nood question.....
 
You need to also change your permalinks.

Go to Settings>Permalinks and select Custom Structure and add this /%postname%/ Click save and it should work now.



Okay, i know this thread is kinda old but I'm really struggling here. Almost at the point I'm willing to pay to have it done.

I've uploaded CPA-R 2 in WP, that was easy. Now I'm under the assumption that this is all that needs to be done correct, unlike the original CPA redirect where you had to modify some PHP in the header and stuff ???

So basically whats happening is I open CPA Redirector 2 in WP, put in my affiliate link. chose a magic number and hit save.

But when I enter the post page URL along with the magic number it just brings me to the post not to the offer page

I'm prolly missing something really simple...and thanks ahead for any support and help

/cav
 
Hey guys, that's all great info about how to install the script on WP, but does anybody actually know how to install the standalone version on any webhost (goddady, hostgator, etc..) :confused: ?? I've been trying for 2 hours and it seems I just can't figure it out. Any help is appreciated.
 
Is this meant for faking the referrer or blanking it.
Can I use it with iframe ads to cover my tracks?
 
2 quick questions if I may ask them,

1. so your affiliate manager or whoever see's the ref. coming from the legit wh blog sure no problem. what if they view source on the index, see the magic number script and follow the path to your bh page?

2. will a meta refresh or any php forwarder script work when I forward it to domain.com/?mn=1234 will they see the ref. as the forwarder.php or just the wh 'domain.com'

either way thanks for your effort on the script, it looks like a great solution and php is way better imo to use for this purpose over js

Is this meant for faking the referrer or blanking it.
Can I use it with iframe ads to cover my tracks?

1. it's meant for faking the ref.
2. yes you can, simply iframe the offers in your bh pg and leave your wh pages with the same url for the ads as the iframe in your bh pg.
 
As many before, I am very thankful for this redirector and see many opportunities by using it. It also makes me wish I would be better at php.

Still, I've got 2 questions regarding standalone version.

1. The file name is index.php - when I upload the file into my webpage's root directory, it won't redirect. Got to delete index.html first and after that it does redirect. Can the redirecting file be named to something else than index.php, since I want to keep the original index.html?
To demonstrate my noobness, I renamed index.php to source.php and obviously the redirecting didn't happen any more.

2. After a visitor has completed a CPA form, survey etc. and is directed to the unlocked page, will my AM also know where a visitor will be directed to? If after the action a visitor is granted access to a porn webpage and porn is not allowed in CPA company's TOS, that can't be good for my side.
 
Last edited:
Just can't get this to work.

Maybe it's because of WP3.1?

OR maybe it's as simple as what I'm adding to the URL
I've set my MN to 1234 and saved so th URL I give out should look like:
www.mywebsite.com/page1nm=1234 or

www.mywebsite.com/page1/?mn=1234

Tried both, not working, any ideas?

Its not working for me either. Maybe it is the new WP.

Can anyone help? I've tried everything.

Thanks
 
Back
Top