help with redirect script
Started on the old forum in March 2010 · view the original in the archive · old links redirect here
Try this:
<?php
$gpc = rand(0,1);
switch($gpc)
{
case "1":
header('Location: http://siteone.com');
break;
default:
header('Location: http://sitetwo.com');
break;
}