I need a simple cookie/ip based link rotator.
For example. I have up to 10 websites in a list. Sites 1-10.
1. [url removed, login to view]
2. [url removed, login to view]
3. [url removed, login to view]
When an advertisement comes out via email the user clicks the link [url removed, login to view] (just an example link)
The script will check to see if the person that clicked the link was at site 1. if they already visited site 1 they would be redirected to site 2. If they were at site 1 and 2 they are redirected to site 3 and so on.
The list of websites should be changeable via gui. The script should always check to see if the visitor has gone to the particular link in order. If it hasn't gone to the link it goes to the first one in the list and if the visitor has gone it will go to the next on the list always doing the check to see if the site has previously been visited.
The administration for these features should be hidden behind an admin login page.