CPA Redirector Standalone Version
After releasing the CPA Redirector plugin (for Wordpress), I had numerous requests (PMs from Blackhat World Members, comments from blog visitors, and even a few emails) for a standalone version of the Redirector that did not require Wordpress.
Ok, here you go guys.
The settings are the same as before, but obviously there is no user interface. Download the script above and open it in a text editor, then you’ll see the following.
//Settings
$magic_number = 1234; // Any number you choose except ZERO!
$cpa_offer_url = ‘http://my-i-p.com/’;
$red_method = 0; // 0 = JS Form, 1 = JS, 2 = Meta Refresh
$form_method = 0; // 0 = POST, 1 = GET
Magic number: Any number you choose except ZERO. So, it could be 1,2,4 or 12,13 or whatever.
CPA offer URL: The URL of the CPA offer where you want visitors redirected too.
Redirection method: As with the previous CPA Redirector, you have 3 ways to redirect visitors.
Form method: POST or Get.
Upload the script to any site. To test it, call the script with the magic number. So, for example, http://somesite.com/mylandingpage.php?mn=1234 will redirect all visitors to your chosen offer.
Thanks brad ..this is awesome
You know I first visited this site about 2 years ago I bookmarked it the very same day.
I know quality when I see it..and you mate are top notch..
Thanks so much! I have been waiting for this…for a long time now. I am going to play around with this tomorrow/later on today!
Wow, this tool is amazing. So from my understanding it will work this way:
landing-page1.html (black hat one) has link to landing-page2.html (which is this script, if the magic number is set – it redirects to affiliate site, if not – shows the fake landing page).
However, won’t landing-page1.html be passed as a referrer to the affiliate company, because from my tests every redirection method passed the referrer except the “iframing offer” one, which shows the page where the offer is framed as a referrer and not the page where visitors came from to that page.
Even if it doesn’t pass page1 as the referrer and shows this scripts page as a referrer, don’t you think that it will pass the magic number too? I guess the affiliate companies have a lot of traffic sources from the kind of http://site.com/index.php?page=3, so it would be kind of dumb from their side to only record the referrer to the index.php page and not the dynamic page ID.
BTW, you should really have the “subscribe to comments for this entry” checkbox plugin, because now I won’t know if you reply to this comment of mine.
@Free Adult Image Hosting: The script allows you to hide and fake the referrer of your real traffic sources. Forget the theory, just start experimenting with it and you’ll see how it works.
Hi,
thanks a lot for this!
One question:
What is better to use? JS form or JS? GET or POST?
I’m technically not so firm so asking.
Thanks,
Mike
I was recommended maxblogpress ninja affiliate, but the feature I need it is just CPA Redirector.
Thanks for saving a lot of money.
Thanks for share this one, cpa director is a nice thing, great article.
Thanks alot! you’re a lifesaver! Going to start making CPA companies to pay me my deserved dollars! eheheh
small thing, but I think it’s good practice to make sure a super variable is set before you start using it’s values. so on line 28 would be
if (isset($_POST['mn']) && ($_POST['mn']==$magic_number)){
Just a small improvement I thought I’d let you know about. Brilliant script by the way. Thanks
Could you integrate a flexible function into the standalone script that also fakes traffic numbers.
I’m using the script…which is AWESOME, but after having pushed over 60,000 clicks through the script, i’ve been threatened with being banned for sending high traffic and low conversions to a ppl program.
If the CPAredirector could somehow fake traffic by lowering traffic numbers as it redirects this script would be even more perfect.
The ojective would be to deflate traffic numbers >> thereby giving the illusion of increased conversions.
That’s a GREAT suggestion… what about it? Could this be added?
Thank you. Finally I found it for my CPA offer. Have been looking high and low for this script and it’s free.
before downloading it…
is it possible to define more than just one offer?
When I use this script with RocketProfit cpa offers, I am directed to a page that says the offer is no longer available. But if I use the direct links I’m given from them, they work.
Any ideas how to get around this?
Thankyou in advance,
Lisa
You are my savior, thank you for the tutorial in the sqript
do we need to put anything in header file with this version
Hi, thanks for the great scripts but have a technical issue: how can I avoid the text “your fake landing page”? is schown on your website you want to use as referrer. With the script for wp that works fine but here I do not know how to solve it. When the affiliate companies visits the http://my site.com/index/php they should not see the comment “your fake landing page” Thanks for any feedback or comment.
james, just change the html in the file and thats it
I put the code in my header and it almost works. No matter which page I use the magic number on, it’s always the root homepage that shows as the referrer. Something to do with this part of the code:
‘.$_SERVER['HTTP_HOST'].$_SERVER['PHP_SELF'] . ‘
Anybody have a solution?
Hey Paul,
Try replacing this line:
‘http://’.$_SERVER['HTTP_HOST'].$_SERVER['PHP_SELF'] . ‘
with the url of the page you are running code from. For example:
‘http://mywhitehatsite.com/page1.php’
Then call this page using redirection link like this for example:
http://mywhitehatsite.com/page1.php?mn=1234
I believe referrer url will now be:
http://mywhitehatsite.com/page1.php