index.php?S=<?php echo $_GET['S']?>&P=<?php echo $_GET['P']?>&X=<?php echo $_GET['X']?>&hid=<?php echo $_GET['hid']?>
but i now i am using a URL rotator and need to still pass these vars. How do i do that with the current script i am using:
Code: Select all
<?php
$sites[0] = array("www.mysite.com/index.php?", 5);
$sites[1] = array("www.myothersite.com/traffic.asp?", 1);
$countsites = count($sites);
for($i=0; $i<$countsites; $i++)
{
for($x=0; $x<$sites[$i][1]; $x++)
{
$mylist[] = array($sites[$i][0]);
}
}
$countlist = count($mylist);
$countlist = $countlist - 1;
$picker = rand(0, $countlist);
$picked = $mylist[$picker][0];
header("Location: http://" . $picked);
?>
-Hector