Hi Philip, > srand((double)microtime()*1000000); If you are using PHP 4.2+ you don't have to use srand anymore. > $newpage = http://www.warbassedesign.com/random.rand(1,2).".html"; how about doing it like this: $newpage = "http://www.warbassedesign.com/random".rand(1,5).".html"; .k