Does anyone have a URL rotation script?

mediaaff

New member
Jun 17, 2009
231
3
0
i needa script that can rotate traffic to a bunch of urls... anybody got such a script? thanks!
 


1. array of urls
2. randomly choose one element or choose "next" element based on value from a file to be more precise
3. redirect to chosen element
Bonus: add weights to the URL values

Use php and do it in a couple simple lines.
 
lol... fail at trying to fit in... try harder next time...

serious? this from a noob that doesnt even have a url rotation script?.. haha, good luck with affiliate marketing bra.

haha

just like igl00 said "google for 1 minute and ull have 5 variations of the script"
 
To rotate offers? I asked for one a while back. It's great.

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

  $aff[] = 'http://mytrackingurl.com/tracking202/redirect/dl.php?t202id=hurrdurr&t202kw=';
  $aff[] = 'http://mytrackingurl.com/tracking202/redirect/dl.php?t202id=hurrdurr&t202kw=';
  $aff[] = 'http://mytrackingurl.com/tracking202/redirect/dl.php?t202id=hurrdurr&t202kw=';
  $aff[] = 'http://mytrackingurl.com/tracking202/redirect/dl.php?t202id=hurrdurr&t202kw=';
  $aff[] = 'http://mytrackingurl.com/tracking202/redirect/dl.php?t202id=hurrdurr&t202kw=';
    
  
  
  srand ((double) microtime() * 1000000);
  $random_number = rand(0,count($aff)-1);

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

header("Location: $lal");

?>
 
I was using prosper202 to rotate my urls. But i needed something simpler that doesn't have the stats that p202 provides. Happy now?