Script to Distribute Clicks To Multiple Aff Programs?

Status
Not open for further replies.

JeremyL

Kitty Saw the Bad Titty!
Oct 19, 2006
335
4
0
Dallas, TX
www.xuru.com
I'm hoping to avoid programming a script to do the following and hoping someone here knows of a free one out there to do the following.

I want to take a ringtone jump page with a list of say 9 carriers. Each carrier will link out to a jump script and that jump script would rotate which ringtone offer the visitor was sent to. I would program a subid into each affiliate link based on which carrier they selected so I can determine which offers work best with which programs.

So anyone know a good jump script that will evenly distribute clicks out to different urls?
 


NM I just realized after reading my own post with no reporting needed how easy it is so I wrote a quick script. I'll post it in case anyone else wants it.

Code:
if(file_exists("./jumpurls.txt"))
{
     $data = file("./jumpurls.txt");
    srand(time());
    $i = rand()%count($data);
    $link = ereg_replace( "\n", "", $data[$i]) . $_GET['m'];

    header("Location: $link"); // Jump to the hiddden affiliate URL above
}
exit();

Just put the affiliate urls each on their own line in jumpurls.txt

Also make the &subid= paramater the end of each aff url and then call the scrip by script.php?m=subidvalue
 
Status
Not open for further replies.