// this script is for showing a random .swf file fullscreen, and filter out the missing ones
// fizz@ferono.com - my very first php script, 5/10/07 3:00AM
<?php
// generate random movie number
$r=rand(1,100);
$thatdigit = "clock" . $r . ".swf";
// specify the missing movie numbers
$missingdigits=array("2", "10", "13", "21", "24", "26", "30", "36", "62", "74" "98");
// if the number generated is missing, pick another random one by reloading script
if ($r == $missingdigits) {
header("Location: $thatdigit");
}
else {
// reload it anyways
header("Location: $thatdigit");
}
exit;
?>