<?php $adres[] = "http://www.google.com"; $adres[] = "http://www.yahoo.com"; $adet = count($adres)-1; header("Location: ".$adres[rand(0,$adet)]); ?>