Hi. I am looking for advice on how to make a PHP url randomizer that will allow me to prioritize the urls that are displayed.
Example:
url 1 is weighted as 5.
url 2 is weighted as 1.
URL 1 will be displayed approximately 5 times for every 1 time URL 2 is diplayed.
An example of a website that uses a script like this is http://www.sitespin.net
There are tons of randomizers out there, but after a few hours of searching, I can't find a script (or a tutorial) that will allow you to weight the urls.
Also, this isn't necessary, but it would be nice if it could have a kind of control panel where you could enter the url and weight without actually going into the file that contains all of the urls.
Thanks in advance!