Ad Hustler

Landing Page Rotation Script

·Ad Hustler·1 min read·31 comments

There are a lot of situations where you need to rotate landing pages (or links) to see which are performing best. I was searching around for a script better than the one I was using and found one provided by Xentech on Wickedfire. This script also works if you need to rotate prosper202 landing pages. I thought this could help some people so i’m posting it here.

PHP Code For The Rotator

<?php
$k = $_GET['sub'];

$aff[] = 'http://xxx.com/tracking202/redirect/dl.php?t202id=6133&t202kw=';
$aff[] = 'http://xxx.com/tracking202/redirect/dl.php?t202id=6133&t202kw=';
$aff[] = 'http://xxx.com/tracking202/redirect/dl.php?t202id=6133&t202kw=';
$aff[] = 'http://xxx.com/tracking202/redirect/dl.php?t202id=6133&t202kw=';
$aff[] = 'http://xxx.com/tracking202/redirect/dl.php?t202id=6133&t202kw=';
$aff[] = 'http://xxx.com/tracking202/redirect/dl.php?t202id=6133&t202kw=';
$aff[] = 'http://xxx.com/tracking202/redirect/dl.php?t202id=6133&t202kw=';
$aff[] = 'http://xxx.com/tracking202/redirect/dl.php?t202id=6133&t202kw=';
$aff[] = 'http://xxx.com/tracking202/redirect/dl.php?t202id=6133&t202kw=';
$aff[] = 'http://xxx.com/tracking202/redirect/dl.php?t202id=6133&t202kw=';

srand ((double) microtime() * 1000000);
$random_number = rand(0,count($aff)-1);

$lol = ($aff[$random_number]);
$lal = $lol.$k;

header("Location: $lal");

Add or Remove These Lines To Add or Remove Links From Rotator

$aff[] = 'http://xxx.com/tracking202/redirect/dl.php?t202id=6133&t202kw=';

Append ?sub=test to your final link to pass subid values to the links within the rotator

Ad Hustler | Subscribe To Ad Hustler

31 Comments