code:<? $images = glob("./images/{*.gif,*.jpg,*.png}", GLOB_BRACE); header("Location: ".$images[rand(0,count($images)-1)]); ?>