I used the following page rotation script to help me split test landing pages:
$urls = array(
"[url removed, login to view]",
"[url removed, login to view]"
$url = array_rand($urls);
unfortunately it redirects to [url removed, login to view] or [url removed, login to view] (which creates a 404 not found error)
I need a working version of this script. The script should not be confined to linked only to pages in the same folder.
Ideally, the script would be
1) light enough to be able to handle a good amount of traffic
2) transparent so that the "true" referral URL is passed through
3) Relatively even with distribution (a random distribution will be good enough)