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.

19

Integrity says:
Jan 16, 2009 - 05:01:10

Thanks brad ..this is awesome

Derek says:
Jan 16, 2009 - 06:01:52

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..

Tiara says:
Jan 17, 2009 - 05:01:49

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!

Jan 17, 2009 - 09:01:04

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.

Brad says:
Jan 17, 2009 - 04:01:50

@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.

Mike says:
Jan 21, 2009 - 04:01:33

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

Jan 26, 2009 - 10:01:22

I was recommended maxblogpress ninja affiliate, but the feature I need it is just CPA Redirector.
Thanks for saving a lot of money.

Frank says:
Jan 27, 2009 - 03:01:53

Thanks for share this one, cpa director is a nice thing, great article.

HentPT says:
Feb 4, 2009 - 02:02:27

Thanks alot! you’re a lifesaver! Going to start making CPA companies to pay me my deserved dollars! eheheh

John Murray says:
Jun 8, 2009 - 03:06:33

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

Chris says:
Jul 28, 2009 - 09:07:06

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.

Mark says:
Jul 29, 2009 - 12:07:30

That’s a GREAT suggestion… what about it? Could this be added?

Steve says:
Aug 5, 2009 - 07:08:35

Thank you. Finally I found it for my CPA offer. Have been looking high and low for this script and it’s free.

Mondlicht BHW says:
Aug 7, 2009 - 01:08:00

before downloading it…

is it possible to define more than just one offer?

Lisa says:
Aug 10, 2009 - 10:08:49

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

Aug 17, 2009 - 09:08:52

You are my savior, thank you for the tutorial in the sqript

David says:
Aug 27, 2009 - 02:08:03

do we need to put anything in header file with this version

James says:
Sep 6, 2009 - 02:09:27

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.

Ryan says:
Dec 15, 2009 - 02:12:09

james, just change the html in the file and thats it

*
To prove you're a person (and not a spam bot - although we do like cute bots round here), type the security word shown in the picture.
Anti-Spam Image