Redirect Script to Multiple URLs?

Tro Shi

New member
Sep 9, 2011
426
1
0
NC
I want to order some traffic and send it to multiple urls, but I can only use 1 url for the service. So I was hoping to have this 1 url redirect to my different urls evenly. Is there a script? The redirect urls are going to have to go through a bit.ly and a 3rd party url shortener before they get to the final tracking link, so I really need something quick.
 


you try bevomedia
you can setup url rotator really quick there.
And change or add links on the fly.
 
Code:
<?php

$urls = array(
     'http://site1.com/', 
     'http://site2.com/', 
     'http://site3.com/' 
);

$key = array_rand($urls);
header("Location: $urls[key]");
?>

There you go.