|
What mikey said, but if you don't wanna use a file for the urls, here's an easy way to do the arrray:
<?
$linkArray[0]="http://www.google.com";
$linkArray[1]="http://www.yahoo.com.com";
srand(time());
$count = count($linkArray);
$random = (rand()%$count);
Header("Location: $linkArray[$random]");
?>
__________________
icq:159548293
|