Weighted website rotator
<p>I need a weighted rotator for all links that I create so that traffic can be distributed on a weighted scale to the destinations i define. I currently use the following:</p>

<pre><code>&lt;?

header('Location: www.destinationwebsite1.com/index.php');

?&gt;
</code></pre>

<p>however this only distributes traffic to 1 source.. I want something that distributes based on "weight" to however many destinations i define..</p>

<p>such as:</p>

<pre><code>25% to www.destinationwebsite1.com/index.php 
25% to www.destinationwebsite2.com/index.php 
25% to www.destinationwebsite3.com/index.php 
25% to www.destinationwebsite4.com/index.php 
</code></pre>

<p>or whatever percentages i choose. Anyone have any ideas?</p>

<p>Best
-N</p>
