I need a script that will allow to redirect to from 1 URL to many others in a round-robin way.
So it will involve a the creation of a "set 1" - a list of the URLs, posted by me and saved. The set will than be assigned
a unique URL, something like [url removed, login to view] When I send traffic to [url removed, login to view], the traffic will be distributed between all the URLs that are listed in "set 1".
Ideally, it would be not much more expensive to give each link in "set 1" a weight" such as 1, 2, 3 which would simply tell the system that anything with a "weight" of 3 redirects to that likn 3 times more than anything to with a weight of 1.
I also would like to create multiple sets.
This will consist of two separate sections in one window.
One section will have the ability to add the sets of url's. Clicking "add url" will add an associated number to it. Textbox for url, Textbox for description purposes, Textbox for weight if necessary. Display box to show running totals of clicks as well as ability to clear it.
Second section will have the ability to create a url that will point to a dynamic list of sites available in the first sections. So clicking on "Add Url Set" will assign a static number, a textbox that will allow us to list which url's it should distribute traffic to.
If all weights are equal all url's should have an equal number of hits.
I would like this to be finished within 5 days of the acception of the project.